Skip to content

Commit 2012be8

Browse files
author
Miguel Barro
committed
Fall back to udp discovery in all tests to prevent discovery issues.
1 parent 0210b0c commit 2012be8

File tree

4 files changed

+26
-5
lines changed

4 files changed

+26
-5
lines changed

test/performance/throughput/xml/interprocess_best_effort_shm.xml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<dds xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
33
<profiles>
4-
<library_settings>
4+
<library_settings>
55
<intraprocess_delivery>OFF</intraprocess_delivery> <!-- OFF | USER_DATA_ONLY | FULL -->
66
</library_settings>
77
<!-- TRANSPORT -->
88
<transport_descriptors>
99
<transport_descriptor>
1010
<transport_id>shm_transport</transport_id>
11-
<type>SHM</type>
11+
<type>SHM</type>
12+
</transport_descriptor>
13+
<transport_descriptor>
14+
<transport_id>udp_transport</transport_id>
15+
<type>UDPv4</type>
16+
<interfaceWhiteList>
17+
<address>127.0.0.1</address>
18+
</interfaceWhiteList>
1219
</transport_descriptor>
1320
</transport_descriptors>
1421

@@ -18,6 +25,7 @@
1825
<rtps>
1926
<userTransports>
2027
<transport_id>shm_transport</transport_id>
28+
<transport_id>udp_transport</transport_id>
2129
</userTransports>
2230
<useBuiltinTransports>false</useBuiltinTransports>
2331
<name>throughput_test_publisher</name>
@@ -29,6 +37,7 @@
2937
<rtps>
3038
<userTransports>
3139
<transport_id>shm_transport</transport_id>
40+
<transport_id>udp_transport</transport_id>
3241
</userTransports>
3342
<useBuiltinTransports>false</useBuiltinTransports>
3443
<name>throughput_test_subscriber</name>

test/performance/throughput/xml/interprocess_reliable_shm.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<dds xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
33
<profiles>
4+
<library_settings>
5+
<intraprocess_delivery>OFF</intraprocess_delivery> <!-- OFF | USER_DATA_ONLY | FULL -->
6+
</library_settings>
47
<!-- TRANSPORT -->
58
<transport_descriptors>
69
<transport_descriptor>
710
<transport_id>shm_transport</transport_id>
811
<type>SHM</type>
9-
</transport_descriptor>
12+
</transport_descriptor>
13+
<transport_descriptor>
14+
<transport_id>udp_transport</transport_id>
15+
<type>UDPv4</type>
16+
<interfaceWhiteList>
17+
<address>127.0.0.1</address>
18+
</interfaceWhiteList>
19+
</transport_descriptor>
1020
</transport_descriptors>
1121

1222
<!-- PARTICIPANTS -->
@@ -15,6 +25,7 @@
1525
<rtps>
1626
<userTransports>
1727
<transport_id>shm_transport</transport_id>
28+
<transport_id>udp_transport</transport_id>
1829
</userTransports>
1930
<useBuiltinTransports>false</useBuiltinTransports>
2031
<name>throughput_test_publisher</name>
@@ -26,6 +37,7 @@
2637
<rtps>
2738
<userTransports>
2839
<transport_id>shm_transport</transport_id>
40+
<transport_id>udp_transport</transport_id>
2941
</userTransports>
3042
<useBuiltinTransports>false</useBuiltinTransports>
3143
<name>throughput_test_subscriber</name>

test/performance/throughput/xml/intraprocess_best_effort.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<dds xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
33
<library_settings>
4-
<intraprocess_delivery>FULL</intraprocess_delivery>
4+
<intraprocess_delivery>USER_DATA_ONLY</intraprocess_delivery>
55
</library_settings>
66

77
<profiles>

test/performance/throughput/xml/intraprocess_reliable.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<dds xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
33
<library_settings>
4-
<intraprocess_delivery>FULL</intraprocess_delivery>
4+
<intraprocess_delivery>USER_DATA_ONLY</intraprocess_delivery>
55
</library_settings>
66

77
<profiles>

0 commit comments

Comments
 (0)