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 Feb 26, 2019
1 parent 21c011a commit 4f38a3a
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 4f38a3a

Please sign in to comment.