Re: RFR: 8281695: jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
On Fri, 27 May 2022 15:24:46 GMT, Rob McKenna wrote: > Test change to silently pass if the test environment encounters a > NoRouteToHostException. These are intermittent at the moment but I will > attempt to find an alternative to the use of example.com in some follow up > work. test/jdk/com/sun/jndi/ldap/LdapTimeoutTest.java line 135: > 133: failedCount++; > 134: cause.printStackTrace(System.out); > 135: } Maybe this could be simplified as: Throwable cause = e.getCause(); // don't fail if we get NoRouteToHostException if (cause instanceof NoRouteToHostException) continue; if (cause != null && cause.getCause() != null) cause = cause.getCause(); if (cause instanceof NoRouteToHostException) continue; failedCount++; cause.printStackTrace(System.out); - PR: https://git.openjdk.java.net/jdk/pull/8925
Re: RFR: 8281695: jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
On Fri, 27 May 2022 15:24:46 GMT, Rob McKenna wrote: > Test change to silently pass if the test environment encounters a > NoRouteToHostException. These are intermittent at the moment but I will > attempt to find an alternative to the use of example.com in some follow up > work. The change looks fine, given it is a temporary workaround until an alternative to the use of example.com is found. - Marked as reviewed by aefimov (Committer). PR: https://git.openjdk.java.net/jdk/pull/8925
RFR: 8281695: jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
Test change to silently pass if the test environment encounters a NoRouteToHostException. These are intermittent at the moment but I will attempt to find an alternative to the use of example.com in some follow up work. - Commit messages: - 8281695: jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run Changes: https://git.openjdk.java.net/jdk/pull/8925/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk=8925=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8281695 Stats: 9 lines in 1 file changed: 7 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/8925.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8925/head:pull/8925 PR: https://git.openjdk.java.net/jdk/pull/8925