Skip to content

Commit da875ff

Browse files
committed
Refs #20953: Include new tests with servers in different processes
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
1 parent 0dad773 commit da875ff

29 files changed

Lines changed: 13569 additions & 0 deletions

test/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ list(APPEND TEST_LIST
106106
test_97_tcpv4_env_var
107107
test_98_tcpv6_env_var
108108
test_99_tcp
109+
110+
test_101_trivial_xtypes
111+
test_102_single_server_medium_xtypes
112+
test_103_single_server_large_xtypes
113+
test_106_diamond_servers_xtypes
114+
test_108_server_endpoints_four_clients_xtypes
115+
test_114_disposals_remote_servers_xtypes
109116
)
110117

111118
# This test does not run in Fast DDS 2.0.x because signal handling for closing the tool was not
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<DS xmlns="http://www.eprosima.com/XMLSchemas/discovery-server" user_shutdown="false">
3+
4+
<clients>
5+
<client name="client1" profile_name="UDP_client1_server1">
6+
<publisher topic="topic1"/>
7+
</client>
8+
<client name="client2" profile_name="UDP_client2_server1">
9+
<subscriber topic="topic1"/>
10+
</client>
11+
</clients>
12+
13+
<snapshots file="./test_101_trivial_clients.snapshot~">
14+
<snapshot time="4">test_101_trivial_clients</snapshot>
15+
</snapshots>
16+
17+
<profiles>
18+
<participant profile_name="UDP_client1_server1" >
19+
<rtps>
20+
<prefix>63.6c.69.65.6e.74.31.5f.73.31.5f.5f</prefix>
21+
<builtin>
22+
<discovery_config>
23+
<discoveryProtocol>CLIENT</discoveryProtocol>
24+
<discoveryServersList>
25+
<locator>
26+
<udpv4>
27+
<address>127.0.0.1</address>
28+
<port>01811</port>
29+
</udpv4>
30+
</locator>
31+
</discoveryServersList>
32+
<initialAnnouncements>
33+
<count>0</count>
34+
</initialAnnouncements>
35+
<leaseAnnouncement>DURATION_INFINITY</leaseAnnouncement>
36+
<leaseDuration>DURATION_INFINITY</leaseDuration>
37+
</discovery_config>
38+
</builtin>
39+
</rtps>
40+
</participant>
41+
42+
<participant profile_name="UDP_client2_server1" >
43+
<rtps>
44+
<prefix>63.6c.69.65.6e.74.32.5f.73.31.5f.5f</prefix>
45+
<builtin>
46+
<discovery_config>
47+
<discoveryProtocol>CLIENT</discoveryProtocol>
48+
<discoveryServersList>
49+
<locator>
50+
<udpv4>
51+
<address>127.0.0.1</address>
52+
<port>01811</port>
53+
</udpv4>
54+
</locator>
55+
</discoveryServersList>
56+
<initialAnnouncements>
57+
<count>0</count>
58+
</initialAnnouncements>
59+
<leaseAnnouncement>DURATION_INFINITY</leaseAnnouncement>
60+
<leaseDuration>DURATION_INFINITY</leaseDuration>
61+
</discovery_config>
62+
</builtin>
63+
</rtps>
64+
</participant>
65+
66+
<topic profile_name="topic1">
67+
<name>topic_1</name>
68+
<dataType>HelloWorld</dataType>
69+
</topic>
70+
71+
</profiles>
72+
</DS>
73+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<DS xmlns="http://www.eprosima.com/XMLSchemas/discovery-server" user_shutdown="false">
3+
4+
<servers>
5+
<server name="server" profile_name="UDP server" />
6+
</servers>
7+
8+
<snapshots file="./test_101_trivial_servers.snapshot~">
9+
<snapshot time="4">test_101_trivial_servers</snapshot>
10+
</snapshots>
11+
12+
<profiles>
13+
<participant profile_name="UDP server">
14+
<rtps>
15+
<prefix>44.49.53.43.53.45.52.56.45.52.5F.31</prefix>
16+
<builtin>
17+
<discovery_config>
18+
<discoveryProtocol>SERVER</discoveryProtocol>
19+
<initialAnnouncements>
20+
<count>5</count>
21+
</initialAnnouncements>
22+
<leaseAnnouncement>
23+
<nanosec>500000000</nanosec>
24+
</leaseAnnouncement>
25+
<leaseDuration>DURATION_INFINITY</leaseDuration>
26+
</discovery_config>
27+
<metatrafficUnicastLocatorList>
28+
<locator>
29+
<udpv4>
30+
<address>127.0.0.1</address>
31+
<port>01811</port>
32+
</udpv4>
33+
</locator>
34+
</metatrafficUnicastLocatorList>
35+
</builtin>
36+
</rtps>
37+
</participant>
38+
39+
</profiles>
40+
</DS>
41+

0 commit comments

Comments
 (0)