summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-06 13:42:54 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-06 13:42:54 +0000
commit7ead2c21b4dcecefb3703f881b5904a3f8bbc325 (patch)
tree311ca570293745374bdd41a1e02a9c324255364a /sca-java-2.x/trunk/samples
parent770021322f68b2f5ba249e5ba5cb6afab1560f1f (diff)
Update testcase to use local loop back address to try to avoid network issues
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1100212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java3
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);
}