Mercurial > hg > RemoteEditor > REPSessionManager
diff test/channeltest/testNetworkSimulator.java @ 230:43445986113b
*** empty log message ***
author | kent |
---|---|
date | Sun, 31 Aug 2008 17:54:52 +0900 |
parents | 44d502851c9e |
children | a8302aa5a495 |
line wrap: on
line diff
--- a/test/channeltest/testNetworkSimulator.java Sun Aug 31 17:08:55 2008 +0900 +++ b/test/channeltest/testNetworkSimulator.java Sun Aug 31 17:54:52 2008 +0900 @@ -16,7 +16,7 @@ public static void main(String[] args){ REPServerSocketChannel.isSimulation = false; - testNetworkSimulator testns = new testNetworkSimulator(1, 3, 50); + testNetworkSimulator testns = new testNetworkSimulator(3, 10, 70); logger.setLogLevel(5); testns.startTest(); @@ -81,11 +81,11 @@ private void sleep(int time) { - synchronized (this) { - try { - wait(time); - } catch (InterruptedException e) { - } + try { + Thread.sleep(time); + } catch (InterruptedException e) { + // TODO Auto-generated catch block + e.printStackTrace(); } }