more robust idle test

Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Greg Wilkins 2018-03-06 15:34:42 +11:00
parent f6d9393bb5
commit 2291d12b87
1 changed files with 1 additions and 1 deletions

View File

@ -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();