diff options
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java b/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java index d0ebf5be19..0f03a4b47d 100644 --- a/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java +++ b/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java @@ -35,12 +35,13 @@ public class HelloworldTestCase { @Test public void testSayHello() throws NoSuchDomainException, NoSuchServiceException { + System.setProperty("domainURI", "uri:default?wka=127.0.0.1:7654"); HelloworldSCAClient.main(new String[0]); } @BeforeClass public static void start() throws ContributionReadException, ActivationException, ValidationException { - node = TuscanyRuntime.newInstance().createNode("uri:default"); + node = TuscanyRuntime.newInstance().createNode("uri:default?bind=127.0.0.1:7654"); node.installContribution(null, "../helloworld/target/classes", null, null, true); } |