test: buffer-import: Fix false-positive failure
Running the tests failed with the following error on buffer import: "Failed to capture enough frames (got 8 expected at least 8)" This indicates that the test did in fact capture enough frames as desired by the test. Update the comparison on both buffer-import and capture tests accordingly. Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
336de7afd2
commit
7fa1a82811
2 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ protected:
|
|||
|
||||
unsigned int nbuffers = allocator_->buffers(stream).size();
|
||||
|
||||
if (completeRequestsCount_ <= nbuffers * 2) {
|
||||
if (completeRequestsCount_ < nbuffers * 2) {
|
||||
cout << "Failed to capture enough frames (got "
|
||||
<< completeRequestsCount_ << " expected at least "
|
||||
<< nbuffers * 2 << ")" << endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue