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 2010/12/09 11:09:49 UTC

svn commit: r1043881 - /tuscany/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/test/java/itest/helloworld/UnknownEndpointTestCase.java

Author: antelder
Date: Thu Dec  9 10:09:49 2010
New Revision: 1043881

URL: http://svn.apache.org/viewvc?rev=1043881&view=rev
Log:
Update to use NodeFactory.getInstance() instead of newInstance to see if that fixes the port conflict some are seeing

Modified:
    tuscany/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/test/java/itest/helloworld/UnknownEndpointTestCase.java

Modified: tuscany/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/test/java/itest/helloworld/UnknownEndpointTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/test/java/itest/helloworld/UnknownEndpointTestCase.java?rev=1043881&r1=1043880&r2=1043881&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/test/java/itest/helloworld/UnknownEndpointTestCase.java (original)
+++ tuscany/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/test/java/itest/helloworld/UnknownEndpointTestCase.java Thu Dec  9 10:09:49 2010
@@ -37,9 +37,9 @@ public class UnknownEndpointTestCase {
     
     @Test
     public void testUnknownEndpoints() throws IOException, InterruptedException {
-        servicesnode = NodeFactory.newInstance().createNode("services.composite", new String[]{"target/test-classes"}) ;
+        servicesnode = NodeFactory.getInstance().createNode("services.composite", new String[]{"target/test-classes"}) ;
         servicesnode.start();
-        node = NodeFactory.newInstance().createNode("clients.composite", new String[]{"target/test-classes"}) ;
+        node = NodeFactory.getInstance().createNode("clients.composite", new String[]{"target/test-classes"}) ;
         node.start();
         
         // test the service invocations work