We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 172c128 commit 92e8808Copy full SHA for 92e8808
moveit_ros/planning/planning_scene_monitor/test/planning_scene_monitor_test.cpp
@@ -59,6 +59,9 @@ class PlanningSceneMonitorTest : public ::testing::Test
59
scene_ = planning_scene_monitor_->getPlanningScene();
60
executor_->add_node(test_node_);
61
executor_thread_ = std::thread([this]() { executor_->spin(); });
62
+
63
+ // Needed to avoid race conditions on high-load CPUs.
64
+ std::this_thread::sleep_for(std::chrono::seconds{ 1 });
65
}
66
67
void TearDown() override
0 commit comments