8237834: com/sun/jndi/ldap/LdapDnsProviderTest.java failing with LDAP response read timeout#756
8237834: com/sun/jndi/ldap/LdapDnsProviderTest.java failing with LDAP response read timeout#756tkiriyama wants to merge 2 commits intoopenjdk:masterfrom
Conversation
… response read timeout
|
👋 Welcome back tkiriyama! A progress list of the required criteria for merging this PR into |
|
@tkiriyama This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 9 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@jerboaa) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
|
I'd be happy if someone could review this fix. |
jerboaa
left a comment
There was a problem hiding this comment.
This looks fine, but differs from the JDK 11u version slightly. Why?
See: openjdk/jdk11u-dev@995d620#diff-02ac29783c37146af717f312ff9c3810e47c6794034aa09a4e00baed3bac84e9R258
Co-authored-by: Severin Gehwolf <jerboaa@gmail.com>
|
|
|
/approval request I would like to backport this bug fix(JDK-8237834) done in jdk15 to jdk8. This fix is equivalent to the successful JDK 11 backport, ensuring reliability. The risk associated with this change is low given that it is solely a test fix. |
|
@tkiriyama |
|
/integrate |
|
@tkiriyama |
Hi All,
JDK-8237834 is being backported from JDK 15 to JDK 8 to resolve instability and test failures in the JDK's LDAP DNS provider test. The issue stems from indefinite waits for LDAP responses when tests connect to unintended services on hardcoded localhost ports. The fix introduces a retry mechanism using different random ports until a "connection refused" error is received, and improves logging for better diagnostic insights, ultimately enhancing test robustness by preventing intermittent failures.
Additionally, this backport is equivalent to the fix applied in JDK 11 except with the @module annotation. This equivalence ensures consistency and demonstrates that the adjustments are robust and have been previously validated on other versions.
Would anyone review this fix?
Thank you.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/756/head:pull/756$ git checkout pull/756Update a local copy of the PR:
$ git checkout pull/756$ git pull https://git.openjdk.org/jdk8u-dev.git pull/756/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 756View PR using the GUI difftool:
$ git pr show -t 756Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/756.diff
Using Webrev
Link to Webrev Comment