diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-12-08 13:09:53 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-12-08 13:09:53 +0000 |
commit | 5ff3dd158e0a0b82383dde761f70c9af53e6ad6b (patch) | |
tree | 2b87643996a2ed0c8d0853a7dc579bfedc907a66 /sca-java-2.x/trunk/modules/endpoint-tribes/src/test | |
parent | 683498669cb23537b070fb8c9804f6dcdef84211 (diff) |
Update so its 1 node talking to 2 others, which does work ok
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@888389 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/endpoint-tribes/src/test')
-rw-r--r-- | sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java b/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java index f63ad779a2..9235a8bdda 100644 --- a/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java +++ b/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java @@ -79,7 +79,7 @@ public class MultiRegTestCase { Map<String, String> attrs1 = new HashMap<String, String>();
attrs1.put("nomcast", "true");
- attrs1.put("routes", "9.167.197.91:4001");
+ attrs1.put("routes", "9.167.197.91:4001 9.167.197.91:4002");
ReplicatedEndpointRegistry reg1 = new ReplicatedEndpointRegistry(extensionPoints, attrs1, "foo", "bar");
reg1.start();
@@ -98,12 +98,12 @@ public class MultiRegTestCase { Map<String, String> attrs2 = new HashMap<String, String>();
attrs2.put("nomcast", "true");
- attrs2.put("routes", "9.167.197.91:4000 9.167.197.91:4002");
+ attrs2.put("routes", "9.167.197.91:4000");
ReplicatedEndpointRegistry reg2 = new ReplicatedEndpointRegistry(extensionPoints, attrs2, "foo", "bar");
reg2.start();
System.out.println("wait");
- Thread.sleep(5000);
+ Thread.sleep(10000);
System.out.println("run");
Endpoint ep1p2 = reg2.getEndpoint("ep1uri");
@@ -112,7 +112,7 @@ public class MultiRegTestCase { Map<String, String> attrs3 = new HashMap<String, String>();
attrs3.put("nomcast", "true");
- attrs3.put("routes", "9.167.197.91:4001");
+ attrs3.put("routes", "9.167.197.91:4000");
ReplicatedEndpointRegistry reg3 = new ReplicatedEndpointRegistry(extensionPoints, attrs3, "foo", "bar");
reg3.start();
|