8224480: (fc) java/nio/channels/FileChannel/MapTest.java fails intermittently

Alan Bateman Alan.Bateman at oracle.com
Tue Jul 2 06:16:08 UTC 2019


On 01/07/2019 22:56, Brian Burkhalter wrote:
> :
>
> The default timeout is 120 seconds and the timeout factor is 4 so the 
> test timed out after 8 minutes. We could as well then double the 
> timeout value as in the diff below versus the previous patch to allow 
> more time to complete.
>
It should only be necessary to use -timeoutFactor when running with 
debug or other VM options that significantly slow down the execution. So 
in this case, I think 8 mins is way too long (even for an old machine 
with spinning rust) so I think adding /timeout and also reducing the 
number of iterations is best.

-Alan


More information about the nio-dev mailing list