aboutsummaryrefslogtreecommitdiff
path: root/tests/ProbeBench.java
diff options
context:
space:
mode:
authorjestin2012-05-13 08:54:38 +0000
committerjestin2012-05-13 08:54:38 +0000
commite854a58a81ec90e419a4b3effa5a83caac05df90 (patch)
tree16eb84a66b62ff38e744c8cd474df81561436b9f /tests/ProbeBench.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/ProbeBench.java')
-rw-r--r--tests/ProbeBench.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ProbeBench.java b/tests/ProbeBench.java
index 246014d..e9e3dbb 100644
--- a/tests/ProbeBench.java
+++ b/tests/ProbeBench.java
@@ -16,14 +16,14 @@ public class ProbeBench {
public void test1() throws IvyException {
Probe p = new Probe(new BufferedReader(new InputStreamReader(System.in)),true,false,true);
Ivy bus1 = new Ivy("ProbeTest","ProbeTest ready",null);
- bus1.start(Ivy.getDomain(null));
+ bus1.start(null);
System.out.println("starting the probe");
p.start(bus1);
System.out.println("sleeping 5 seconds");
try { Thread.sleep(5000); } catch (InterruptedException ie) { }
Ivy bus2 = new Ivy("ProbeKiller","ProbeKiller ready",null);
- bus2.start(Ivy.getDomain(null));
+ bus2.start(null);
System.out.println("starting the probe killer");
new DieSender(bus2,"ProbeTest");
System.out.println("sleeping 5 seconds");