Skip to content

Commit

Permalink
Increase the timeout in wait_for_topic_launch_test. (#377)
Browse files Browse the repository at this point in the history
In commit 0c081a7
(#360) we increased
the timeout to 10 seconds to accomodate slower discovery.
However, this was partially reverted in
2d125a5
(#353).

Restore the 10 second timeout to avoid flakes on the
buildfarm.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
clalancette authored Aug 28, 2023
1 parent c7d46f1 commit a26e13a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_topics_successful(self, count):

# Method 1 : Using the magic methods and 'with' keyword
with WaitForTopics(
topic_list, timeout=2.0, messages_received_buffer_length=10
topic_list, timeout=10.0, messages_received_buffer_length=10
) as wait_for_node_object_1:
assert wait_for_node_object_1.topics_received() == expected_topics
assert wait_for_node_object_1.topics_not_received() == set()
Expand Down

0 comments on commit a26e13a

Please sign in to comment.