From a12e8e797aee658e16ce076d717c10b9199be596 Mon Sep 17 00:00:00 2001 From: cferreiragonz Date: Thu, 13 Jun 2024 12:08:06 +0200 Subject: [PATCH] Refs #21170: Fix Windows build & comment Signed-off-by: cferreiragonz --- test/blackbox/api/dds-pim/PubSubParticipant.hpp | 2 +- test/blackbox/common/DDSBlackboxTestsDiscovery.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/blackbox/api/dds-pim/PubSubParticipant.hpp b/test/blackbox/api/dds-pim/PubSubParticipant.hpp index cf6756cdfa3..d6989a8acaa 100644 --- a/test/blackbox/api/dds-pim/PubSubParticipant.hpp +++ b/test/blackbox/api/dds-pim/PubSubParticipant.hpp @@ -888,7 +888,7 @@ class PubSubParticipant eprosima::fastdds::dds::WireProtocolConfigQos& qos, eprosima::fastrtps::rtps::GuidPrefix_t& guid, eprosima::fastrtps::rtps::Locator_t& locator_server, - uint32_t port, + uint16_t port, uint32_t kind) { qos.builtin.discovery_config.discoveryProtocol = eprosima::fastrtps::rtps::DiscoveryProtocol_t::SERVER; diff --git a/test/blackbox/common/DDSBlackboxTestsDiscovery.cpp b/test/blackbox/common/DDSBlackboxTestsDiscovery.cpp index 7445b9bd730..6739bfd5e8b 100644 --- a/test/blackbox/common/DDSBlackboxTestsDiscovery.cpp +++ b/test/blackbox/common/DDSBlackboxTestsDiscovery.cpp @@ -399,7 +399,7 @@ TEST(DDSDiscovery, ServersConnectionTCP) server_2.wait_discovery(std::chrono::seconds::zero(), 1, true); // Knows server1 server_3.wait_discovery(std::chrono::seconds::zero(), 1, true); // Knows server1 - /* Add server_2 to server_1 */ + /* Add server_3 to server_2 */ RemoteServerAttributes server_3_att; server_3_att.guidPrefix = server_3_prefix; server_3_att.metatrafficUnicastLocatorList.push_back(Locator_t(locator_server_3));