[XXS] RFR 8137230: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out
ivan.gerasimov at oracle.com
Mon Sep 28 17:19:13 UTC 2015
The just added test started to intermittently fail on some machines.
It appears that creating a temporary file and doing some simple IO with
it can sometimes take more than 10 seconds even without an infinite loop.
The proposal is:
- increase the timeout;
- limit the amount of work to only truncation of the file;
- if a case of failure, print a stacktrace of the frozen thread for a
With this change, the test passed on all the platforms.
Would you please help review the fix?
More information about the nio-dev