Skip to content

Commit

Permalink
Refs #21120. Remove RTPS blackbox test.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <[email protected]>
  • Loading branch information
MiguelCompany committed Jun 5, 2024
1 parent fa993c7 commit fa1b5e3
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions test/blackbox/common/RTPSBlackboxTestsBasic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -867,35 +867,6 @@ TEST(RTPS, MultithreadedWriterCreation)
RTPSDomain::stopAll();
}

/* Regression Test for improving gaps processing
* https://github.com/eProsima/Fast-DDS/pull/3343
*/
TEST(RTPS, RTPSCorrectGAPProcessing)
{
RTPSWithRegistrationReader<HelloWorldPubSubType> reader(TEST_TOPIC_NAME);
RTPSWithRegistrationWriter<HelloWorldPubSubType> writer(TEST_TOPIC_NAME);

reader.durability(eprosima::fastrtps::rtps::DurabilityKind_t::TRANSIENT_LOCAL).
reliability(eprosima::fastrtps::rtps::ReliabilityKind_t::RELIABLE).init();

ASSERT_TRUE(reader.isInitialized());

writer.durability(eprosima::fastrtps::rtps::DurabilityKind_t::TRANSIENT_LOCAL).
reliability(eprosima::fastrtps::rtps::ReliabilityKind_t::RELIABLE).init();

ASSERT_TRUE(writer.isInitialized());

reader.wait_discovery();
writer.wait_discovery();

SequenceNumberSet_t seq_set(SequenceNumber_t(0, 0));

//! GAP Message check
// TODO(MiguelCompany): Move this test to (new) RTPSReader unit tests
// RTPSReader& native_reader = reader.get_native_reader();
// ASSERT_NO_FATAL_FAILURE(native_reader.process_gap_msg(writer.guid(), {0, 0}, seq_set));
}

class CustomReaderDataFilter : public eprosima::fastdds::rtps::IReaderDataFilter
{
public:
Expand Down

0 comments on commit fa1b5e3

Please sign in to comment.