Skip to content

Commit

Permalink
Increase timeout for acknowledgments to account for slower Connext se…
Browse files Browse the repository at this point in the history
…ttings. (#1901)

Signed-off-by: Andrea Sorbini <asorbini@rti.com>
  • Loading branch information
asorbini committed Mar 21, 2022
1 parent 9ae35e3 commit 6afec48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp/test/rclcpp/test_publisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ TEST_P(TestPublisherWaitForAllAcked, check_wait_for_all_acked_with_QosPolicy) {
for (int i = 0; i < 20; i++) {
ASSERT_NO_THROW(pub->publish(*msg));
}
EXPECT_TRUE(pub->wait_for_all_acked(std::chrono::milliseconds(500)));
EXPECT_TRUE(pub->wait_for_all_acked(std::chrono::milliseconds(6000)));
}

INSTANTIATE_TEST_SUITE_P(
Expand Down

0 comments on commit 6afec48

Please sign in to comment.