aboutsummaryrefslogtreecommitdiff
path: root/tests/ProbeBench.java
diff options
context:
space:
mode:
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");