From ac24913aa8d470ab6b1177f1fa2ebfd22235c028 Mon Sep 17 00:00:00 2001 From: Nir Azkiel Date: Wed, 15 Nov 2023 20:51:21 +0200 Subject: [PATCH] allow some time to stop --- unit-tests/live/frames/test-pipeline-start-stop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unit-tests/live/frames/test-pipeline-start-stop.py b/unit-tests/live/frames/test-pipeline-start-stop.py index 079d0895d82..a198522d6d1 100644 --- a/unit-tests/live/frames/test-pipeline-start-stop.py +++ b/unit-tests/live/frames/test-pipeline-start-stop.py @@ -7,6 +7,7 @@ import pyrealsense2 as rs from rspy.stopwatch import Stopwatch from rspy import test, log +import time # Run multiple start stop of all streams and verify we get a frame for each once @@ -21,6 +22,7 @@ def verify_frame_received(config): delay = start_call_stopwatch.get_elapsed() log.out("After ", delay, " [sec] got first frame of ", f) pipe.stop() + time.sleep(1) # allow the streaming some time to acctualy stop between iterations ################################################################################################