Skip to content

Commit

Permalink
Replace deprecated spin_until_future_complete with `spin_until_comp…
Browse files Browse the repository at this point in the history
…lete`

Signed-off-by: Hubert Liberacki <[email protected]>
  • Loading branch information
hliberacki committed Mar 30, 2022
1 parent 27808d2 commit 5b24985
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ TEST_F(TestInteractiveMarkerServerWithMarkers, get_interactive_markers_communica
using namespace std::chrono_literals;

auto future = mock_client_->requestInteractiveMarkers();
auto ret = executor_.spin_until_future_complete(future, 3000ms);
auto ret = executor_.spin_until_complete(future, 3000ms);
ASSERT_EQ(ret, rclcpp::FutureReturnCode::SUCCESS);
visualization_msgs::srv::GetInteractiveMarkers::Response::SharedPtr response = future.get();
ASSERT_EQ(response->markers.size(), markers_.size());
Expand Down

0 comments on commit 5b24985

Please sign in to comment.