tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1100212 - /tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java
Date Fri, 06 May 2011 13:42:54 GMT
Author: antelder
Date: Fri May  6 13:42:54 2011
New Revision: 1100212

URL: http://svn.apache.org/viewvc?rev=1100212&view=rev
Log:
Update testcase to use local loop back address to try to avoid network issues

Modified:
    tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java

Modified: tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java?rev=1100212&r1=1100211&r2=1100212&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java
(original)
+++ tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java
Fri May  6 13:42:54 2011
@@ -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);
     }
 



Mime
View raw message