Skip to content

Commit

Permalink
Do not wait for entire timeout (#486)
Browse files Browse the repository at this point in the history
Follow-up to #481

This makes the tests faster.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
jacobperron authored Apr 15, 2020
1 parent bf4941a commit ff5a756
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ros2param/test/test_verb_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def setUp(self):
and f'{TEST_NAMESPACE}/{TEST_NODE}/get_parameters' in service_names
):
timed_out = False
break
if timed_out:
self.fail(f'CLI daemon failed to find test node after {TEST_TIMEOUT} seconds')

Expand Down

0 comments on commit ff5a756

Please sign in to comment.