From 5ff3dd158e0a0b82383dde761f70c9af53e6ad6b Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 8 Dec 2009 13:09:53 +0000 Subject: 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 --- .../org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java | 8 ++++---- 1 file 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 attrs1 = new HashMap(); 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 attrs2 = new HashMap(); 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 attrs3 = new HashMap(); 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(); -- cgit v1.2.3