Skip to content

Commit

Permalink
update another test
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Mar 7, 2019
1 parent d1e8c9c commit 0026e25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rclcpp_action/test/test_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,8 @@ TEST_F(TestServer, publish_feedback)

send_goal_request(node, uuid);

auto sent_message = std::make_shared<FeedbackT>();
sent_message->feedback.sequence = {1, 1, 2, 3, 5};
auto sent_message = std::make_shared<Fibonacci::Feedback>();
sent_message->sequence = {1, 1, 2, 3, 5};
received_handle->publish_feedback(sent_message);

// 10 seconds
Expand All @@ -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)
Expand Down

0 comments on commit 0026e25

Please sign in to comment.