aboutsummaryrefslogtreecommitdiff
path: root/tests/TestNetSwing.java
diff options
context:
space:
mode:
authorjestin2012-05-13 08:54:38 +0000
committerjestin2012-05-13 08:54:38 +0000
commite854a58a81ec90e419a4b3effa5a83caac05df90 (patch)
tree16eb84a66b62ff38e744c8cd474df81561436b9f /tests/TestNetSwing.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/TestNetSwing.java')
-rw-r--r--tests/TestNetSwing.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/TestNetSwing.java b/tests/TestNetSwing.java
index 7aed6e2..a153636 100644
--- a/tests/TestNetSwing.java
+++ b/tests/TestNetSwing.java
@@ -141,11 +141,6 @@ class TestNetSwing implements Runnable {
e.printStackTrace();
System.exit(0);
}
- try {
- broadcast.setSoTimeout(Ivy.TIMEOUTLENGTH);
- } catch ( java.net.SocketException jns ) {
- System.out.println("IvyWatcher setSoTimeout error" + jns.getMessage() );
- }
watcherThread = new Thread(this);
watcherThread.start();
}
@@ -216,7 +211,7 @@ class TestNetSwing implements Runnable {
public static void main(String[] args) throws IvyException {
Getopt opt = new Getopt("TestNetSwing",args,"b:h");
int c;
- String domainstring = Ivy.getDomain(null);
+ String domainstring = null;
while ((c = opt.getopt()) != -1) switch (c) {
case 'b':
domainstring=opt.getOptarg();