diff --git a/launch_testing_ros/test/examples/set_param_launch_test.py b/launch_testing_ros/test/examples/set_param_launch_test.py index e8b2da70..52e5f75a 100644 --- a/launch_testing_ros/test/examples/set_param_launch_test.py +++ b/launch_testing_ros/test/examples/set_param_launch_test.py @@ -71,7 +71,7 @@ def set_parameter(self, state=True, timeout=5.0): request = SetParameters.Request() request.parameters = parameters future = client.call_async(request) - rclpy.spin_until_future_complete(self, future, timeout_sec=timeout) + rclpy.spin_until_complete(self, future, timeout_sec=timeout) assert future.done(), 'Client request timed out'