summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/buffer_cache.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-05-30 17:27:07 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-01 12:08:42 +0300
commit9f5b790800f5a379f3e5fd53b9ade5f19a567734 (patch)
treeadc2a771cbd2eac7678ff3e0c1d23735fac0a3ed /test/v4l2_videodevice/buffer_cache.cpp
parent207e52b8d35e1684df20c65fe379d46bee442987 (diff)
py: unittests: Fix test_sleep()
Waiting for 0.5 secs and expecting that the requests have been completed is... bad. Fix the test case by using cam.read_event() as a blocking wait, and wait until we have received all the requests that we queued. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/buffer_cache.cpp')
0 files changed, 0 insertions, 0 deletions