summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-test/src/test/java
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-12-04 11:42:47 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-12-04 11:42:47 +0000
commita770f3fdc3e2fd42bb62e14f022f940a02ef5988 (patch)
tree1c4610c7d35ff97bb89e7cec354581a32514a642 /sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-test/src/test/java
parentc53b2ffb0c71ea25e3a71adeaa946a205975bbed (diff)
Add a wait for ever to make it easier to test the client
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@887162 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-test/src/test/java')
-rw-r--r--sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-test/src/test/java/itest/Service.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-test/src/test/java/itest/Service.java b/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-test/src/test/java/itest/Service.java
index 28a47ae175..72e6edb622 100644
--- a/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-test/src/test/java/itest/Service.java
+++ b/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-test/src/test/java/itest/Service.java
@@ -45,7 +45,9 @@ public class Service {
@Test
public void testNothing() throws Exception {
-
+ synchronized (this) {
+ this.wait();
+ }
}
@AfterClass