diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-12-08 12:45:36 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-12-08 12:45:36 +0000 |
commit | 52942e36de1f2738f5ce82f85be0647453f88d98 (patch) | |
tree | 360987f18231bc9818e7628c89fc7e57df67eeab /sca-java-2.x/trunk/modules/endpoint-tribes/src/test | |
parent | 0e22d32a94dacd6e9e59bf69302d783a5f222f6c (diff) |
Start a test for multiple registries and static routes
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@888378 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 | 10 |
1 files changed, 8 insertions, 2 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 95d407c106..d8443bbe6b 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 @@ -34,7 +34,7 @@ import org.junit.Ignore; import org.junit.Test;
// Ignore so its not run in the build yet till its working
-@Ignore
+//@Ignore
public class MultiRegTestCase {
// @Test
@@ -101,12 +101,18 @@ public class MultiRegTestCase { attrs2.put("routes", "9.167.197.91:4000");
ReplicatedEndpointRegistry reg2 = new ReplicatedEndpointRegistry(extensionPoints, attrs2, "foo", "bar");
reg2.start();
- Thread.sleep(15000);
+
+ System.out.println("wait");
+ Thread.sleep(5000);
+ System.out.println("run");
Endpoint ep1p2 = reg2.getEndpoint("ep1uri");
Assert.assertNotNull(ep1p2);
Assert.assertEquals("ep1uri", ep1p2.getURI());
+ System.out.println("wait2");
+ Thread.sleep(5000);
+ System.out.println("end");
reg1.stop();
reg2.stop();
}
|