From 5b24985af07cbd39be7dbe1548fb4579d224b8dd Mon Sep 17 00:00:00 2001 From: Hubert Liberacki Date: Thu, 31 Mar 2022 00:59:41 +0200 Subject: [PATCH] Replace deprecated `spin_until_future_complete` with `spin_until_complete` 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 328a3ce8..bcff55ae 100644 --- a/test/interactive_markers/test_interactive_marker_server.cpp +++ b/test/interactive_markers/test_interactive_marker_server.cpp @@ -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());