Skip to content

Commit

Permalink
Rename spin_until_future_complete with spin_until_complete in uni…
Browse files Browse the repository at this point in the history
…t tests

Signed-off-by: Hubert Liberacki <[email protected]>
  • Loading branch information
hliberacki authored and Hubert Liberacki committed Jul 1, 2022
1 parent 4b89daf commit fabd752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rclpy/test/test_action_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,12 @@ def test_send_goal_async_with_feedback_after_goal_result_requested(self):
Fibonacci.Goal(),
feedback_callback=self.feedback_callback,
goal_uuid=goal_uuid)
rclpy.spin_until_future_complete(self.node, goal_future, self.executor)
rclpy.spin_until_complete(self.node, goal_future, self.executor)
self.assertTrue(goal_future.done())
# Then request result
goal_handle = goal_future.result()
result_future = goal_handle.get_result_async()
rclpy.spin_until_future_complete(self.node, result_future, self.executor)
rclpy.spin_until_complete(self.node, result_future, self.executor)
self.assertTrue(result_future.done())

# Publish feedback after goal result is requested
Expand Down

0 comments on commit fabd752

Please sign in to comment.