From 97f906eb738bab2ab4467a59fba09fc6b3454587 Mon Sep 17 00:00:00 2001 From: jestin Date: Wed, 24 Feb 2016 20:39:43 +0000 Subject: Integrates G. Alliger's fix ! Kudos to him Add ignore ipv6 --- tests/Request.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/Request.java') diff --git a/tests/Request.java b/tests/Request.java index 67c3096..73aea54 100644 --- a/tests/Request.java +++ b/tests/Request.java @@ -32,13 +32,13 @@ class Request { id=bus.getWBUId(); bus.bindMsg("^Computer\\d ready",new IvyMessageListener() { public void receive(IvyClient ic,String[] args) { - try { bus.sendMsg("computesum id="+id+" a=3 b=4");} catch (IvyException _ ) { } + try { bus.sendMsg("computesum id="+id+" a=3 b=4");} catch (IvyException ie ) { } } }); bus.bindMsgOnce("^result id="+id+" value=([0-9]+)",new IvyMessageListener() { public void receive(IvyClient ic,String[] args) { System.out.println("result received: "+args[0]); - try {Thread.sleep(1000);} catch (InterruptedException _) { } + try {Thread.sleep(1000);} catch (InterruptedException ie) { } System.exit(0); } }); -- cgit v1.1