From a71bfbe54f56b0afd9c6fd980cd0d0e05e33aa1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Crist=C3=B3bal=20Arroyo?= Date: Thu, 26 Oct 2023 09:50:56 -0500 Subject: [PATCH] Revert "Replace deprecated `spin_until_future_complete` with `spin_until_complete` (#90)" (#104) This reverts commit 71212efc21f2028e2c214a4a662aea98fda47804. As stated in https://github.com/ros-visualization/interactive_markers/pull/90#issuecomment-1781236247 --- 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 1990456b..60b4d0fc 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_complete(future, 3000ms); + auto ret = executor_.spin_until_future_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());