Skip to content

Commit 083bfac

Browse files
committed
Increase tolerance for timer tests from 0.1 seconds to 0.5 seconds
Distro A, OPSEC #4584. You may have additional rights; please see https://rosmilitary.org/faq/?category=ros-2-license Signed-off-by: matthew.lanting <[email protected]>
1 parent 6c11ddb commit 083bfac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_launch_ros/test/test_launch_ros/actions/test_ros_timer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,6 @@ def timer_callback(publisher, time_msg):
195195

196196
# Timer is using sim time which is 100x faster than system time,
197197
# so 200 sec timer should finish in 2 sec
198-
tolerance = 0.1
198+
tolerance = 0.5
199199
assert (end_time - start_time) > 2 - tolerance
200200
assert (end_time - start_time) < 2 + tolerance

0 commit comments

Comments
 (0)