Skip to content

Commit

Permalink
missed changing on get_state function
Browse files Browse the repository at this point in the history
  • Loading branch information
mamueluth committed Aug 20, 2024
1 parent bcc19c6 commit 9e1b248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller_manager/test/test_spawner_unspawner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ TEST_F(TestLoadController, spawner_with_many_controllers)
{
auto ctrl = cm_->get_loaded_controllers()[i];
ASSERT_EQ(ctrl.info.type, test_controller::TEST_CONTROLLER_CLASS_NAME);
ASSERT_EQ(ctrl.c->get_state().id(), lifecycle_msgs::msg::State::PRIMARY_STATE_ACTIVE);
ASSERT_EQ(ctrl.c->get_lifecycle_state().id(), lifecycle_msgs::msg::State::PRIMARY_STATE_ACTIVE);
}
}

Expand Down

0 comments on commit 9e1b248

Please sign in to comment.