Skip to content

Commit cd13d39

Browse files
committed
Increase timeout waiting for subscription message
Fixes #1775 Connext takes significantly longer for discovery to happened compared to the other RMWs, and so the previous 2 seconds of waiting was not enough. Local observation shows it takes about 3 seconds to get a message from the subscription. This change bumps the timeout to 10 seconds to be conservative. Signed-off-by: Jacob Perron <[email protected]>
1 parent 2801553 commit cd13d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclcpp/test/rclcpp/test_subscription_with_type_adapter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
using namespace std::chrono_literals;
4646

47-
static const int g_max_loops = 200;
47+
static const int g_max_loops = 1000;
4848
static const std::chrono::milliseconds g_sleep_per_loop(10);
4949

5050

0 commit comments

Comments
 (0)