@@ -52,11 +52,11 @@ static void write1(SocketChannel peer) throws IOException { peer.write(ByteBuffer.wrap(new byte[1])); // give time for other end to be readable try { - Thread.sleep(50); + Thread.sleep(1000); } catch (InterruptedException ignore) { } } static void drain(SocketChannel sc) throws IOException { ByteBuffer buf = ByteBuffer.allocate(100);