Skip to content

Commit 5a25935

Browse files
Replace deprecated spin_until_future_complete with spin_until_complete (ros-visualization#90)
Co-authored-by: Hubert Liberacki <[email protected]> Signed-off-by: Hubert Liberacki <[email protected]> Signed-off-by: Christophe Bedard <[email protected]>
1 parent 165a0e6 commit 5a25935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/interactive_markers/test_interactive_marker_server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ TEST_F(TestInteractiveMarkerServerWithMarkers, get_interactive_markers_communica
370370
using namespace std::chrono_literals;
371371

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

0 commit comments

Comments
 (0)