@@ -255,6 +255,7 @@ TEST_F(TestLoadController, spawner_test_type_in_params_file)
255
255
const std::string test_file_path = ament_index_cpp::get_package_prefix (" controller_manager" ) +
256
256
" /test/test_controller_spawner_with_type.yaml" ;
257
257
258
+ ControllerManagerRunner cm_runner (this );
258
259
// Provide controller type via the parsed file
259
260
EXPECT_EQ (
260
261
call_spawner (
@@ -306,6 +307,7 @@ TEST_F(TestLoadController, unload_on_kill)
306
307
{
307
308
// Launch spawner with unload on kill
308
309
// timeout command will kill it after the specified time with signal SIGINT
310
+ ControllerManagerRunner cm_runner (this );
309
311
cm_->set_parameter (rclcpp::Parameter (" ctrl_3.type" , test_controller::TEST_CONTROLLER_CLASS_NAME));
310
312
std::stringstream ss;
311
313
ss << " timeout --signal=INT 5 "
@@ -622,6 +624,7 @@ TEST_F(TestLoadControllerWithNamespacedCM, spawner_test_type_in_params_file)
622
624
const std::string test_file_path = ament_index_cpp::get_package_prefix (" controller_manager" ) +
623
625
" /test/test_controller_spawner_with_type.yaml" ;
624
626
627
+ ControllerManagerRunner cm_runner (this );
625
628
// Provide controller type via the parsed file
626
629
EXPECT_EQ (
627
630
call_spawner (
@@ -682,6 +685,7 @@ TEST_F(
682
685
const std::string test_file_path = ament_index_cpp::get_package_prefix (" controller_manager" ) +
683
686
" /test/test_controller_spawner_with_type.yaml" ;
684
687
688
+ ControllerManagerRunner cm_runner (this );
685
689
// Provide controller type via the parsed file
686
690
EXPECT_EQ (
687
691
call_spawner (
0 commit comments