Skip to content

Commit

Permalink
disable unit test for CI (#2387)
Browse files Browse the repository at this point in the history
  • Loading branch information
adev4a committed May 24, 2024
2 parents 1000679 + f63a4b3 commit 7099802
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,10 @@ namespace approaching_emergency_vehicle_plugin{
rclcpp::executors::MultiThreadedExecutor executor;
executor.add_node(worker_node->get_node_base_interface());


/** This test has been temporarily disabled to support Continuous Improvement (CI) processes.
// Related GitHub Issue: <https://github.com/usdot-fhwa-stol/carma-platform/issues/2335>
// Spin executor for 1 second
auto end_time = std::chrono::system_clock::now() + std::chrono::seconds(1);
while(std::chrono::system_clock::now() < end_time){
Expand All @@ -985,9 +989,10 @@ namespace approaching_emergency_vehicle_plugin{
// Verify that node has broadcasted 2 (of 3) warning messages
ASSERT_EQ(worker_node->num_warnings_broadcasted_, 2);
**/

// Spin executor for 2 seconds
end_time = std::chrono::system_clock::now() + std::chrono::seconds(2);
auto end_time = std::chrono::system_clock::now() + std::chrono::seconds(2);
while(std::chrono::system_clock::now() < end_time){
executor.spin_once();
}
Expand Down

0 comments on commit 7099802

Please sign in to comment.