Skip to content

Commit a26e13a

Browse files
authored
Increase the timeout in wait_for_topic_launch_test. (ros2#377)
In commit 0c081a7 (ros2#360) we increased the timeout to 10 seconds to accomodate slower discovery. However, this was partially reverted in 2d125a5 (ros2#353). Restore the 10 second timeout to avoid flakes on the buildfarm. Signed-off-by: Chris Lalancette <clalancette@gmail.com>
1 parent c7d46f1 commit a26e13a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎launch_testing_ros/test/examples/wait_for_topic_launch_test.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_topics_successful(self, count):
6464

6565
# Method 1 : Using the magic methods and 'with' keyword
6666
with WaitForTopics(
67-
topic_list, timeout=2.0, messages_received_buffer_length=10
67+
topic_list, timeout=10.0, messages_received_buffer_length=10
6868
) as wait_for_node_object_1:
6969
assert wait_for_node_object_1.topics_received() == expected_topics
7070
assert wait_for_node_object_1.topics_not_received() == set()

0 commit comments

Comments
 (0)