diff options
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/itest/nodes/two-nodes-two-vms-hazelcast/src/test/java/itest/Service.java | 13 |
1 files changed, 13 insertions, 0 deletions
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();
}
}
|