diff --git a/test_tracetools/src/test_lifecycle_client.cpp b/test_tracetools/src/test_lifecycle_client.cpp index 40c44325..a9ffb962 100644 --- a/test_tracetools/src/test_lifecycle_client.cpp +++ b/test_tracetools/src/test_lifecycle_client.cpp @@ -265,7 +265,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();