RFR: 8259274: Increase timeout duration in sun/nio/ch/TestMaxCachedBufferSize.java

Brian Burkhalter bpb at openjdk.java.net
Thu Jan 7 00:07:08 UTC 2021


The change for JDK-8255913 integrated on 2020-11-05 reduced by half the number of iterations in `TestMaxCachedBufferSize`. As reported in JDK-8212812 on 2021-01-05, the test still failed due to a timeout after an elapsed time of 502738ms including timeout handling. The current timeout is 480000ms which represents the default timeout of 120s multiplied by the timeout factor of 4.

The present change proposes to increase the timeout by 25% to 150s. This should hopefully dispense with the ongoing test timeouts. As these timeouts have been observed primarily if not exclusively on decade-old MacPro5_1 machines, the timeout should not appreciably increase the overall CI test execution time.

-------------

Commit messages:
 - 8259274: Increase timeout duration in sun/nio/ch/TestMaxCachedBufferSize.java

Changes: https://git.openjdk.java.net/jdk/pull/1969/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1969&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259274
  Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1969.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1969/head:pull/1969

PR: https://git.openjdk.java.net/jdk/pull/1969


More information about the nio-dev mailing list