Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename locators from failing tests #218

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading