Skip to content

Commit

Permalink
LifecycleBondTest Use nav2_util::generate_internal_node
Browse files Browse the repository at this point in the history
This wraps the creation of the node currently (ipc experiment branch)
sets the node option  .use_intra_process_comms(true)
  • Loading branch information
ewak committed Jan 13, 2025
1 parent f002686 commit e2db0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_lifecycle_manager/test/test_bond.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ TEST(LifecycleBondTest, POSITIVE)

TEST(LifecycleBondTest, NEGATIVE)
{
auto node = std::make_shared<rclcpp::Node>("lifecycle_manager_test_service_client");
auto node = nav2_util::generate_internal_node("lifecycle_manager_test_service_client");
nav2_lifecycle_manager::LifecycleManagerClient client("lifecycle_manager_test", node);

// create node, now without bond setup to connect to. Should fail because no bond
Expand Down

0 comments on commit e2db0c3

Please sign in to comment.