test/java/nio/channels/AsyncCloseAndInterrupt.java is failing on Linux:
$ java AsyncCloseAndInterrupt
Initializing refuser... 53 connections
FileChannel/transferTo/interrupt
Transferred 65536 bytes
Channel open
FileChannel/transferTo/pre-interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
FileChannel/transferTo/close
Exception in thread "main" java.lang.Exception: FileChannel/transferTo/close timed out
at TestThread.finishAndThrow(TestThread.java:83)
at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:570)
at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:590)
at AsyncCloseAndInterrupt.main(AsyncCloseAndInterrupt.java:647)
|