Skip to content

Commit

Permalink
Remove test used for debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
  • Loading branch information
Blast545 committed Apr 24, 2020
1 parent 1c3afe1 commit e0bfb9e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions rcl/test/rcl/test_subscription.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -779,14 +779,6 @@ TEST_F(CLASSNAME(TestSubscriptionFixture, RMW_IMPLEMENTATION), test_subscription
ret = rcl_take_serialized_message(&subscription, &serialized_msg_rcv, nullptr, nullptr);
ASSERT_EQ(RMW_RET_OK, ret);

// Compare serialized version
for (size_t i = 0; i < serialized_msg_rcv.buffer_length; ++i) {
EXPECT_EQ(serialized_msg.buffer[i], serialized_msg_rcv.buffer[i]);
}

// This is the test that I'd like to get working
// The rcv decoded string does not match the original one
// And, in fact, is not the same for each rmw vendor
test_msgs__msg__Strings msg_rcv;
test_msgs__msg__Strings__init(&msg_rcv);
ret = rmw_deserialize(&serialized_msg_rcv, ts, &msg_rcv);
Expand Down

0 comments on commit e0bfb9e

Please sign in to comment.