From e2db0c348ac1891dd3b69839348c7b3971558b12 Mon Sep 17 00:00:00 2001 From: Mike Wake Date: Mon, 13 Jan 2025 17:03:27 +1100 Subject: [PATCH] LifecycleBondTest Use nav2_util::generate_internal_node This wraps the creation of the node currently (ipc experiment branch) sets the node option .use_intra_process_comms(true) --- nav2_lifecycle_manager/test/test_bond.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nav2_lifecycle_manager/test/test_bond.cpp b/nav2_lifecycle_manager/test/test_bond.cpp index 4cb70bad2a4..fb0fa15f9b3 100644 --- a/nav2_lifecycle_manager/test/test_bond.cpp +++ b/nav2_lifecycle_manager/test/test_bond.cpp @@ -170,7 +170,7 @@ TEST(LifecycleBondTest, POSITIVE) TEST(LifecycleBondTest, NEGATIVE) { - auto node = std::make_shared("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