Skip to content

Commit

Permalink
Rename locators from failing tests (#218)
Browse files Browse the repository at this point in the history
Signed-off-by: Jesus Perez <[email protected]>
  • Loading branch information
jepemi authored Dec 18, 2023
1 parent c029132 commit dc65d15
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions test/unittest/DatabaseQueue/DatabaseQueueTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2480,7 +2480,7 @@ TEST_F(database_queue_tests, push_network_latency)
std::string src_locator_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|d.e.f.10";
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the source locator
DatabaseDataQueue::StatisticsLocator src_locator;
Expand Down Expand Up @@ -2546,7 +2546,7 @@ TEST_F(database_queue_tests, push_network_latency_no_participant)
std::string src_locator_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|d.e.f.10";
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the source locator
DatabaseDataQueue::StatisticsLocator src_locator;
Expand Down Expand Up @@ -2598,7 +2598,7 @@ TEST_F(database_queue_tests, push_network_latency_wrong_participant_format)
std::string src_locator_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|d.e.f.10";
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the source locator
DatabaseDataQueue::StatisticsLocator src_locator;
Expand Down Expand Up @@ -2649,7 +2649,7 @@ TEST_F(database_queue_tests, push_network_latency_no_destination_locator)
std::string src_locator_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|d.e.f.10";
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the source locator
DatabaseDataQueue::StatisticsLocator src_locator;
Expand Down Expand Up @@ -2923,7 +2923,7 @@ TEST_F(database_queue_tests, push_rtps_sent)
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string writer_guid_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|0.0.0.2";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the writer GUID
DatabaseDataQueue::StatisticsGuidPrefix writer_prefix;
Expand Down Expand Up @@ -3013,7 +3013,7 @@ TEST_F(database_queue_tests, push_rtps_sent_no_writer)
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string writer_guid_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|0.0.0.2";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the writer GUID
DatabaseDataQueue::StatisticsGuidPrefix writer_prefix;
Expand Down Expand Up @@ -3071,7 +3071,7 @@ TEST_F(database_queue_tests, push_rtps_sent_no_locator)
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string writer_guid_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|0.0.0.2";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the writer GUID
DatabaseDataQueue::StatisticsGuidPrefix writer_prefix;
Expand Down Expand Up @@ -3176,7 +3176,7 @@ TEST_F(database_queue_tests, push_rtps_lost)
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string writer_guid_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|0.0.0.2";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the writer GUID
DatabaseDataQueue::StatisticsGuidPrefix writer_prefix;
Expand Down Expand Up @@ -3266,7 +3266,7 @@ TEST_F(database_queue_tests, push_rtps_lost_no_writer)
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string writer_guid_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|0.0.0.2";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the writer GUID
DatabaseDataQueue::StatisticsGuidPrefix writer_prefix;
Expand Down Expand Up @@ -3324,7 +3324,7 @@ TEST_F(database_queue_tests, push_rtps_lost_no_locator)
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string writer_guid_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|0.0.0.2";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the writer GUID
DatabaseDataQueue::StatisticsGuidPrefix writer_prefix;
Expand Down Expand Up @@ -3428,7 +3428,7 @@ TEST_F(database_queue_tests, push_rtps_bytes_no_writer)
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string writer_guid_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|0.0.0.2";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the writer GUID
DatabaseDataQueue::StatisticsGuidPrefix writer_prefix;
Expand Down Expand Up @@ -3481,7 +3481,7 @@ TEST_F(database_queue_tests, push_rtps_bytes_no_locator)
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string writer_guid_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|0.0.0.2";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the writer GUID
DatabaseDataQueue::StatisticsGuidPrefix writer_prefix;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ TEST_F(statistics_reader_listener_tests, new_network_latency_received)
std::string src_locator_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|d.e.f.10";
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the source locator
DatabaseDataQueue::StatisticsLocator src_locator;
Expand Down Expand Up @@ -536,7 +536,7 @@ TEST_F(statistics_reader_listener_tests, new_rtps_sent_received)
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string writer_guid_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|0.0.0.2";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the writer GUID
DatabaseDataQueue::StatisticsGuidPrefix writer_prefix;
Expand Down Expand Up @@ -624,7 +624,7 @@ TEST_F(statistics_reader_listener_tests, new_rtps_lost_received)
std::array<uint8_t, 16> dst_locator_address = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
uint32_t dst_locator_port = 2048;
std::string writer_guid_str = "01.02.03.04.05.06.07.08.09.0a.0b.0c|0.0.0.2";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048";
std::string dst_locator_str = "TCPv4:[4.3.2.1]:2048-0";

// Build the writer GUID
DatabaseDataQueue::StatisticsGuidPrefix writer_prefix;
Expand Down

0 comments on commit dc65d15

Please sign in to comment.