From 931c6dc200e7422239a0d4f00c6af46c0bace3eb Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 9 Dec 2010 10:09:49 +0000 Subject: Update to use NodeFactory.getInstance() instead of newInstance to see if that fixes the port conflict some are seeing git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1043881 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/itest/helloworld/UnknownEndpointTestCase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-java-2.x/trunk/testing') diff --git a/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/test/java/itest/helloworld/UnknownEndpointTestCase.java b/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/test/java/itest/helloworld/UnknownEndpointTestCase.java index d6c56d6dc3..f35a71b30e 100644 --- a/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/test/java/itest/helloworld/UnknownEndpointTestCase.java +++ b/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/test/java/itest/helloworld/UnknownEndpointTestCase.java @@ -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 -- cgit v1.2.3