Skip to content

Commit 16d8d83

Browse files
committed
Fix flaky test
Signed-off-by: Alberto Tudela <[email protected]>
1 parent 9e7494e commit 16d8d83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_integration.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ TEST(LaserSegmentationTest, integration) {
7777

7878
// Spin the laser_segmentation node
7979
rclcpp::spin_some(seg_node->get_node_base_interface());
80+
std::this_thread::sleep_for(std::chrono::milliseconds(5));
8081

8182
// Check the results: now, the scan should have a subscription
8283
// and the segment should have a publisher

0 commit comments

Comments
 (0)