diff --git a/test_tracetools/src/test_lifecycle_client.cpp b/test_tracetools/src/test_lifecycle_client.cpp index ca02b8bf..75f730f1 100644 --- a/test_tracetools/src/test_lifecycle_client.cpp +++ b/test_tracetools/src/test_lifecycle_client.cpp @@ -268,7 +268,7 @@ int main(int argc, char ** argv) std::shared_future script = std::async( std::launch::async, std::bind(cycle_through_states, client_node)); - exec.spin_until_future_complete(script); + exec.spin_until_complete(script); rclcpp::shutdown();