Skip to content

Commit

Permalink
fixed broken node_state
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Bednarczyk committed Jul 11, 2022
1 parent 2fec29c commit a106a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpio_controllers/test/test_gpio_command_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ TEST_F(GpioCommandControllerTest, CommandCallbackTest)
auto node_state = controller_->configure();
ASSERT_EQ(node_state.id(), lifecycle_msgs::msg::State::PRIMARY_STATE_INACTIVE);

node_state = controller_->activate();
node_state = controller_->get_node()->activate();
ASSERT_EQ(node_state.id(), lifecycle_msgs::msg::State::PRIMARY_STATE_ACTIVE);

// send a new command
Expand Down

0 comments on commit a106a4c

Please sign in to comment.