From 0026e2559c74ed8866df015cbc2cd38deb9f359e Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Tue, 26 Feb 2019 15:19:42 -0800 Subject: [PATCH] update another test --- rclcpp_action/test/test_server.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rclcpp_action/test/test_server.cpp b/rclcpp_action/test/test_server.cpp index 25e17d4ac6..304bbdda30 100644 --- a/rclcpp_action/test/test_server.cpp +++ b/rclcpp_action/test/test_server.cpp @@ -531,8 +531,8 @@ TEST_F(TestServer, publish_feedback) send_goal_request(node, uuid); - auto sent_message = std::make_shared(); - sent_message->feedback.sequence = {1, 1, 2, 3, 5}; + auto sent_message = std::make_shared(); + sent_message->sequence = {1, 1, 2, 3, 5}; received_handle->publish_feedback(sent_message); // 10 seconds @@ -544,7 +544,7 @@ TEST_F(TestServer, publish_feedback) ASSERT_EQ(1u, received_msgs.size()); auto & msg = received_msgs.back(); - ASSERT_EQ(sent_message->feedback.sequence, msg->feedback.sequence); + ASSERT_EQ(sent_message->sequence, msg->feedback.sequence); } TEST_F(TestServer, get_result)