Skip to content

Commit

Permalink
remove copy pasta remnants from comments
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
  • Loading branch information
bmagyar and christophfroehlich authored Jan 4, 2025
1 parent 3a19634 commit 5da7a31
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions controller_manager/test/test_release_interfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ TEST_F(TestReleaseExclusiveInterfaces, test_exclusive_interface_switching_failur
lifecycle_msgs::msg::State::PRIMARY_STATE_INACTIVE,
abstract_test_controller2.c->get_lifecycle_state().id());

{ // Test starting the first controller
{
// Test starting the first controller
// test_controller1 activation always fails
RCLCPP_INFO(cm_->get_logger(), "Starting controller #1");
std::vector<std::string> start_controllers = {controller_name1};
std::vector<std::string> stop_controllers = {};
Expand All @@ -257,8 +259,9 @@ TEST_F(TestReleaseExclusiveInterfaces, test_exclusive_interface_switching_failur
abstract_test_controller2.c->get_lifecycle_state().id());
}

{ // Test starting the second controller when the first is running
// Fails as they have the same command interface
{
// Test starting the second controller, interfaces should have been released
// test_controller2 always successfully activates
RCLCPP_INFO(cm_->get_logger(), "Starting controller #2");
std::vector<std::string> start_controllers = {controller_name2};
std::vector<std::string> stop_controllers = {};
Expand Down

0 comments on commit 5da7a31

Please sign in to comment.