From cd77c58fcea1223be05887ad8b5d11521734ae24 Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 9 Feb 2010 09:23:00 +0000 Subject: Add some code to all for easier manual running of the test git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@907981 13f79535-47bb-0310-9956-ffa450edef68 --- .../nodes/two-nodes-two-vms-hazelcast/client.xml | 26 +++++++++++++++++++++- .../nodes/two-nodes-two-vms-hazelcast/server.xml | 8 +++++++ .../src/test/java/itest/Service.java | 13 +++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) (limited to 'sca-java-2.x') diff --git a/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/client.xml b/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/client.xml index 15eee42fcf..d5c5793520 100644 --- a/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/client.xml +++ b/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/client.xml @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. --> - + @@ -28,4 +28,28 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/server.xml b/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/server.xml index 75a55c205e..1bb7e7a0d7 100644 --- a/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/server.xml +++ b/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/server.xml @@ -26,5 +26,13 @@ + + + + + \ No newline at end of file diff --git a/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/src/test/java/itest/Service.java b/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/src/test/java/itest/Service.java index 8bd333f932..a7e4c6bed1 100644 --- a/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/src/test/java/itest/Service.java +++ b/sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/src/test/java/itest/Service.java @@ -49,5 +49,18 @@ public class Service { if (serviceNode != null) { serviceNode.stop(); } + } + + public static void main(String[] args) throws Exception { + Service.setUpBeforeClass(); + + try { + System.out.println("Press a key to stop"); + System.in.read(); + } catch (Exception ex) { + // do nothing + } + + Service.tearDownAfterClass(); } } -- cgit v1.2.3