You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2009/12/08 13:45:38 UTC
svn commit: r888378 -
/tuscany/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java
Author: antelder
Date: Tue Dec 8 12:45:36 2009
New Revision: 888378
URL: http://svn.apache.org/viewvc?rev=888378&view=rev
Log:
Start a test for multiple registries and static routes
Modified:
tuscany/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java
Modified: tuscany/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java?rev=888378&r1=888377&r2=888378&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java (original)
+++ tuscany/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java Tue Dec 8 12:45:36 2009
@@ -34,7 +34,7 @@
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 @@
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();
}