Skip to content

Commit

Permalink
allow some time to stop
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed Nov 15, 2023
1 parent 8f8b01b commit ac24913
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unit-tests/live/frames/test-pipeline-start-stop.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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


################################################################################################
Expand Down

0 comments on commit ac24913

Please sign in to comment.