From 71212efc21f2028e2c214a4a662aea98fda47804 Mon Sep 17 00:00:00 2001 From: Hubert Liberacki Date: Thu, 26 Oct 2023 10:19:19 +0200 Subject: [PATCH] Replace deprecated `spin_until_future_complete` with `spin_until_complete` (#90) Signed-off-by: Hubert Liberacki --- test/interactive_markers/test_interactive_marker_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/interactive_markers/test_interactive_marker_server.cpp b/test/interactive_markers/test_interactive_marker_server.cpp index 60b4d0fc..1990456b 100644 --- a/test/interactive_markers/test_interactive_marker_server.cpp +++ b/test/interactive_markers/test_interactive_marker_server.cpp @@ -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());