aboutsummaryrefslogtreecommitdiff
path: root/tests/DieSender.java
diff options
context:
space:
mode:
authorjestin2012-05-13 08:54:38 +0000
committerjestin2012-05-13 08:54:38 +0000
commite854a58a81ec90e419a4b3effa5a83caac05df90 (patch)
tree16eb84a66b62ff38e744c8cd474df81561436b9f /tests/DieSender.java
parent4ffe8b84071babe544086f94c66431380d301d59 (diff)
downloadivy-java-e854a58a81ec90e419a4b3effa5a83caac05df90.zip
ivy-java-e854a58a81ec90e419a4b3effa5a83caac05df90.tar.gz
ivy-java-e854a58a81ec90e419a4b3effa5a83caac05df90.tar.bz2
ivy-java-e854a58a81ec90e419a4b3effa5a83caac05df90.tar.xz
Modified the tests to remove bus.getDomain(null)
make Waiter and WaiterClient sons of WaitFor Added a few tests into svn
Diffstat (limited to 'tests/DieSender.java')
-rw-r--r--tests/DieSender.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/DieSender.java b/tests/DieSender.java
index c44446b..a19854f 100644
--- a/tests/DieSender.java
+++ b/tests/DieSender.java
@@ -33,10 +33,10 @@ public class DieSender extends IvyApplicationAdapter {
public static void main(String[] args) throws IvyException {
String mtokill = DEFAULTTOKILL;
- String domain = Ivy.getDomain(null);
+ String domain = Domain.getDomainArgs("DieSender",args);
System.out.println("will kill each and every " + mtokill + " on the " + domain +" bus");
Ivy bus = new Ivy("DieSender","DieSender ready",null);
- bus.start(Ivy.getDomain(null));
+ bus.start(domain);
new DieSender(bus,mtokill);
}