From eb84a8990d6b7d0e926d53791e2f1059639f80dd Mon Sep 17 00:00:00 2001 From: Nir Azkiel Date: Tue, 9 Jan 2024 14:58:19 +0200 Subject: [PATCH] align KPI to validation KPI --- unit-tests/live/frames/test-t2ff-pipeline.py | 4 ++-- unit-tests/live/frames/test-t2ff-sensor.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/unit-tests/live/frames/test-t2ff-pipeline.py b/unit-tests/live/frames/test-t2ff-pipeline.py index 636ee56aa5..0ff72ab624 100644 --- a/unit-tests/live/frames/test-t2ff-pipeline.py +++ b/unit-tests/live/frames/test-t2ff-pipeline.py @@ -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") diff --git a/unit-tests/live/frames/test-t2ff-sensor.py b/unit-tests/live/frames/test-t2ff-sensor.py index 312c417daf..b7f88ac04c 100644 --- a/unit-tests/live/frames/test-t2ff-sensor.py +++ b/unit-tests/live/frames/test-t2ff-sensor.py @@ -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() @@ -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" )