Skip to content

Commit

Permalink
Solve 2.14 conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
  • Loading branch information
cferreiragonz committed Dec 17, 2024
1 parent a4cd149 commit afd25d4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/blackbox/api/dds-pim/PubSubParticipant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ class PubSubParticipant
}

PubSubParticipant& initial_peers(
const eprosima::fastdds::rtps::LocatorList& initial_peers)
const eprosima::fastrtps::rtps::LocatorList_t& initial_peers)
{
participant_qos_.wire_protocol().builtin.initialPeersList = initial_peers;
return *this;
Expand Down
7 changes: 7 additions & 0 deletions test/blackbox/api/fastrtps_deprecated/PubSubParticipant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,13 @@ class PubSubParticipant
return *this;
}

PubSubParticipant& initial_peers(
const eprosima::fastrtps::rtps::LocatorList_t& initial_peers)
{
participant_attr_.rtps.builtin.initialPeersList = initial_peers;
return *this;
}

PubSubParticipant& pub_property_policy(
const eprosima::fastrtps::rtps::PropertyPolicy property_policy)
{
Expand Down
10 changes: 5 additions & 5 deletions test/blackbox/common/BlackboxTestsTransportTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1470,19 +1470,19 @@ TEST_P(TransportTCP, tcp_unique_network_flows_communication)
properties.properties().emplace_back("fastdds.unique_network_flows", "");
readers.disable_builtin_transport().add_user_transport_to_pparams(test_transport_);

eprosima::fastdds::rtps::Locator_t initial_peer_locator;
Locator_t initial_peer_locator;
if (use_ipv6)
{
initial_peer_locator.kind = LOCATOR_KIND_TCPv6;
eprosima::fastdds::rtps::IPLocator::setIPv6(initial_peer_locator, "::1");
IPLocator::setIPv6(initial_peer_locator, "::1");
}
else
{
initial_peer_locator.kind = LOCATOR_KIND_TCPv4;
eprosima::fastdds::rtps::IPLocator::setIPv4(initial_peer_locator, "127.0.0.1");
IPLocator::setIPv4(initial_peer_locator, "127.0.0.1");
}
eprosima::fastdds::rtps::IPLocator::setPhysicalPort(initial_peer_locator, global_port);
eprosima::fastdds::rtps::LocatorList_t initial_peer_list;
IPLocator::setPhysicalPort(initial_peer_locator, global_port);
LocatorList_t initial_peer_list;
initial_peer_list.push_back(initial_peer_locator);

readers.sub_topic_name(TEST_TOPIC_NAME)
Expand Down

0 comments on commit afd25d4

Please sign in to comment.