Skip to content

Commit

Permalink
ISPN-14313 Set different properties and port for cross-site testdriver
Browse files Browse the repository at this point in the history
  • Loading branch information
pruivo committed Nov 22, 2022
1 parent 39e7bed commit 5c638ba
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,27 @@
urn:org:jgroups http://www.jgroups.org/schema/jgroups-5.2.xsd"
xmlns="urn:infinispan:config:15.0"
xmlns:ispn="urn:infinispan:config:15.0">
<stack name="test-tcp" extends="tcp">
<stack name="global" extends="tcp">
<MPING mcast_addr="${jgroups.xsite.mcast_addr:239.6.7.8}"
mcast_port="${jgroups.xsite.mcast_port:55555}"
num_discovery_runs="3"
ip_ttl="${jgroups.udp.ip_ttl:2}"
ispn:stack.combine="REPLACE"
/>
</stack>
<stack name="test-tcp" extends="tcp">
<MPING mcast_addr="${jgroups.mcast_addr:239.6.7.8}"
mcast_port="${jgroups.cluster.mcast_port}"
num_discovery_runs="3"
ip_ttl="${jgroups.udp.ip_ttl:2}"
ispn:stack.combine="REPLACE"
/>
<MERGE3 min_interval="1000" max_interval="5000" ispn:stack.combine="REPLACE"/>
<FD_SOCK2 connect_timeout="3000"/>
<FD_ALL3 timeout="3000"
interval="1000"/>
<relay.RELAY2 site="${relay.site_name}" max_site_masters="3" xmlns="urn:org:jgroups"/>
<remote-sites default-stack="tcp">
<remote-sites default-stack="global">
<remote-site name="LON"/>
<remote-site name="NYC"/>
</remote-sites>
Expand Down Expand Up @@ -48,7 +56,7 @@
<FD_ALL3 timeout="3000"
interval="1000"/>
<relay.RELAY2 site="${relay.site_name}" max_site_masters="3" xmlns="urn:org:jgroups"/>
<remote-sites default-stack="tcp">
<remote-sites default-stack="global">
<remote-site name="LON"/>
<remote-site name="NYC"/>
</remote-sites>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,21 @@
urn:org:jgroups http://www.jgroups.org/schema/jgroups-5.2.xsd"
xmlns="urn:infinispan:config:15.0"
xmlns:ispn="urn:infinispan:config:15.0">
<stack name="global" extends="tcp">
<MPING mcast_addr="${jgroups.xsite.mcast_addr:239.6.7.8}"
mcast_port="${jgroups.xsite.mcast_port:55555}"
num_discovery_runs="3"
ip_ttl="${jgroups.udp.ip_ttl:2}"
ispn:stack.combine="REPLACE"
/>
</stack>
<stack name="test-tcp" extends="tcp">
<MERGE3 min_interval="1000" max_interval="5000" ispn:stack.combine="REPLACE"/>
<FD_SOCK2 connect_timeout="3000"/>
<FD_ALL3 timeout="3000"
interval="1000"/>
<relay.RELAY2 site="LON" max_site_masters="3" xmlns="urn:org:jgroups"/>
<remote-sites default-stack="tcp">
<remote-sites default-stack="global">
<remote-site name="LON"/>
<remote-site name="NYC"/>
</remote-sites>
Expand All @@ -20,7 +28,7 @@
<FD_ALL3 timeout="3000"
interval="1000"/>
<relay.RELAY2 site="LON" max_site_masters="3" xmlns="urn:org:jgroups"/>
<remote-sites default-stack="tcp">
<remote-sites default-stack="global">
<remote-site name="LON"/>
<remote-site name="NYC"/>
</remote-sites>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,27 @@
urn:org:jgroups http://www.jgroups.org/schema/jgroups-5.2.xsd"
xmlns="urn:infinispan:config:15.0"
xmlns:ispn="urn:infinispan:config:15.0">
<stack name="test-tcp" extends="tcp">
<stack name="global" extends="tcp">
<MPING mcast_addr="${jgroups.xsite.mcast_addr:239.6.7.8}"
mcast_port="${jgroups.xsite.mcast_port:55555}"
num_discovery_runs="3"
ip_ttl="${jgroups.udp.ip_ttl:2}"
ispn:stack.combine="REPLACE"
/>
</stack>
<stack name="test-tcp" extends="tcp">
<MPING mcast_addr="${jgroups.mcast_addr:239.6.7.8}"
mcast_port="${jgroups.cluster.mcast_port}"
num_discovery_runs="3"
ip_ttl="${jgroups.udp.ip_ttl:2}"
ispn:stack.combine="REPLACE"
/>
<MERGE3 min_interval="1000" max_interval="5000" ispn:stack.combine="REPLACE"/>
<FD_SOCK2 connect_timeout="3000"/>
<FD_ALL3 timeout="3000"
interval="1000"/>
<relay.RELAY2 site="${relay.site_name}" max_site_masters="3" xmlns="urn:org:jgroups"/>
<remote-sites default-stack="tcp">
<remote-sites default-stack="global">
<remote-site name="LON"/>
<remote-site name="NYC"/>
</remote-sites>
Expand Down Expand Up @@ -48,7 +56,7 @@
<FD_ALL3 timeout="3000"
interval="1000"/>
<relay.RELAY2 site="${relay.site_name}" max_site_masters="3" xmlns="urn:org:jgroups"/>
<remote-sites default-stack="tcp">
<remote-sites default-stack="global">
<remote-site name="LON"/>
<remote-site name="NYC"/>
</remote-sites>
Expand Down

0 comments on commit 5c638ba

Please sign in to comment.