Skip to content

Commit

Permalink
Improve flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
bmagyar committed Jun 28, 2021
1 parent 0ffde48 commit 1638ccd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ rclcpp::WaitResultKind wait_for(rclcpp::SubscriptionBase::SharedPtr subscription
{
rclcpp::WaitSet wait_set;
wait_set.add_subscription(subscription);
const auto timeout = std::chrono::seconds(10);
const auto timeout = std::chrono::seconds(20);
return wait_set.wait(timeout).kind();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ TEST(TestLoadIMUSensorBroadcaster, load_controller)
cm.load_controller(
"test_imu_sensor_broadcaster",
"imu_sensor_broadcaster/IMUSensorBroadcaster"));

rclcpp::shutdown();
}

0 comments on commit 1638ccd

Please sign in to comment.