Skip to content

Commit

Permalink
sleep added between pipe stop and restart
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed May 16, 2024
1 parent 064a234 commit 245c494
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion unit-tests/live/d400/test-hdr-long.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
######################################

# test:device D400*
# test:donotrun:!nightly


import pyrealsense2 as rs
from rspy import test, log
Expand Down Expand Up @@ -354,6 +354,9 @@ def check_sequence_id(pipe):

pipe.stop()

# timer added to permit restoring of the pipe, needed especially for jetson
time.sleep(0.2)

if test.check(at_least_one_frame_supported_seq_id):
test.check(first_series_last_merged_ts != -1)
test.check(depth_sensor.get_option(rs.option.hdr_enabled) == 1)
Expand Down

0 comments on commit 245c494

Please sign in to comment.