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` (#90)

Signed-off-by: Hubert Liberacki <hliberacki@gmail.com>
  • Loading branch information
hliberacki authored Oct 26, 2023
1 parent 320c2a3 commit 71212ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,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 71212ef

Please sign in to comment.