more robust idle test
Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
parent
f6d9393bb5
commit
2291d12b87
|
@ -317,8 +317,8 @@ public class ByteArrayEndPointTest
|
|||
|
||||
// Write more than the output capacity, then wait for idle timeout.
|
||||
fcb = new FutureCallback();
|
||||
endp.write(fcb, BufferUtil.toBuffer("This is too long"));
|
||||
start = System.nanoTime();
|
||||
endp.write(fcb, BufferUtil.toBuffer("This is too long"));
|
||||
try
|
||||
{
|
||||
fcb.get();
|
||||
|
|
Loading…
Reference in New Issue