diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-04-24 22:51:38 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-03 11:53:07 +0300 |
commit | dedf9cf264656c7ce396fb66b69e3c8fcfd458c4 (patch) | |
tree | 8f1e0793dc7e5f38eafdb5a64685b824e5d1445f /src/apps/qcam/viewfinder_qt.cpp | |
parent | 13dcc7fc5f662a8c00eff5dce689c81231b5216e (diff) |
test: fence: Increase timeout for fence test
On slower machines, a 1s timeout to capture frames with vimc can be too
short and cause test failures. Make the timeout proportional to the
number of frames expected to be captured, using a conservative low
estimate of the frame rate at 2fps.
By itself, that change could increase the test time quite substantially
on fast platforms, so break from the capture loop as soon as we capture
enough frames.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam/viewfinder_qt.cpp')
0 files changed, 0 insertions, 0 deletions