RFR: 8256037: [TESTBUG] com/sun/jndi/dns/ConfigTests/PortUnreachable.java fails due to the hard coded threshold is small

Jie Fu jiefu at openjdk.java.net
Mon Nov 9 09:25:03 UTC 2020


Hi all,

May I get reviews for this change?

com/sun/jndi/dns/ConfigTests/PortUnreachable.java fails occasionally on some of our testing platforms.
The reason is that the hard coded Threshold (1000 ms) [1] is a little smaller than that (e.g., 1026 ms) on our platforms.

The fix just increases the threshold from 1000 ms to 3000 ms.
Any comments?

Thanks.
Best regards,
Jie

[1] https://github.com/openjdk/jdk/blob/master/test/jdk/com/sun/jndi/dns/ConfigTests/PortUnreachable.java#L49

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

Commit messages:
 - 8256037: [TESTBUG] com/sun/jndi/dns/ConfigTests/PortUnreachable.java fails due to the hard coded threshold is small

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

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


More information about the core-libs-dev mailing list