test: camera: Increase runtime for capture test
Upstream commit 2978a505aaa981b2 ("media: vimc: stream: fix thread state before sleep") changes the frame rate when capturing from the vimc raw capture video nodes. The commit changes the frame rate from thousands of frames per second to to roughly fifty. The libcamera capture test was written with the assumption that vimc would keep providing this fast frame rate and ran for a very short time to decrease the overall run time of tests. This is no longer possible and the test fails as it can't capture enough frames in its runtime, increase the runtime to match the new vimc frame rate. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
c544506e1a
commit
d9a468aaac
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ protected:
|
|||
EventDispatcher *dispatcher = CameraManager::instance()->eventDispatcher();
|
||||
|
||||
Timer timer;
|
||||
timer.start(100);
|
||||
timer.start(1000);
|
||||
while (timer.isRunning())
|
||||
dispatcher->processEvents();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue