From e854a58a81ec90e419a4b3effa5a83caac05df90 Mon Sep 17 00:00:00 2001 From: jestin Date: Sun, 13 May 2012 08:54:38 +0000 Subject: Modified the tests to remove bus.getDomain(null) make Waiter and WaiterClient sons of WaitFor Added a few tests into svn --- tests/ProbeBench.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ProbeBench.java') 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"); -- cgit v1.1