> Can I please get a review of this test only change which proposes to improve > the debuggability of `com/sun/jndi/ldap/LdapPoolTimeoutTest.java`? > > This test has been failing intermittently in our CI for several years. > Detailed are noted in https://bugs.openjdk.org/browse/JDK-8287062. Most of > these failures are because the exception message, in an exception that was > raised, contains an unexpected value (apparently `null`). The test doesn't > propagate the unexpected exception, thus it's not clear why the exception > message is different than what the test expects. The commit in this PR > propagates the original exception if the message is unexpected. This should > help identify the underlying cause of the test failure, if/when it fails the > next time. > > I have run this test with these changes and the test continues to pass.
Jaikiran Pai has updated the pull request incrementally with two additional commits since the last revision: - Mikhail's review - print the task number that failed - remove unused imports from the test ------------- Changes: - all: https://git.openjdk.org/jdk/pull/24793/files - new: https://git.openjdk.org/jdk/pull/24793/files/dd6228e9..cc0b58f0 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=24793&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24793&range=00-01 Stats: 10 lines in 1 file changed: 0 ins; 7 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/24793.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24793/head:pull/24793 PR: https://git.openjdk.org/jdk/pull/24793