Skip to content

Commit

Permalink
align KPI to validation KPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed Jan 9, 2024
1 parent 6b68615 commit eb84a89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions unit-tests/live/frames/test-t2ff-pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

product_line = dev.get_info(rs.camera_info.product_line)
if product_line == "D400":
max_delay_for_depth_frame = 2
max_delay_for_color_frame = 2
max_delay_for_depth_frame = 1
max_delay_for_color_frame = 1
else:
log.f("This test support only D400 devices")

Expand Down
6 changes: 3 additions & 3 deletions unit-tests/live/frames/test-t2ff-sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def frame_cb(frame):
device_creation_stopwatch = Stopwatch()
dev = test.find_first_device_or_exit()
device_creation_time = device_creation_stopwatch.get_elapsed()
max_time_for_device_creation = 1.5
max_time_for_device_creation = 1
print("Device creation time is: {:.3f} [sec] max allowed is: {:.1f} [sec] ".format(device_creation_time, max_time_for_device_creation))
test.check(device_creation_time < max_time_for_device_creation)
test.finish()
Expand All @@ -62,8 +62,8 @@ def frame_cb(frame):
# Set maximum delay for first frame according to product line
product_line = dev.get_info(rs.camera_info.product_line)
if product_line == "D400":
max_delay_for_depth_frame = 1.5
max_delay_for_color_frame = 1.5
max_delay_for_depth_frame = 1
max_delay_for_color_frame = 1
else:
log.f( "This test support only D400 devices" )

Expand Down

0 comments on commit eb84a89

Please sign in to comment.