jojochuang commented on PR #11681: URL: https://github.com/apache/ozone/pull/11681#issuecomment-6377321308
@smengcl I added a test-only regression commit on top of this PR: https://github.com/jojochuang/ozone/commit/e8ec94208e59bdfc41ff42b0b763c0c437b1d95d Branch: `jojochuang:codex/HDDS-17195-bind-test`. Feel free to cherry-pick the commit. `TestClient.testKerberosSocketBinding` exercises the actual RPC connection setup with a mocked socket and Kerberos identity for both values of `ipc.client.bind.wildcard.addr`. It verifies wildcard versus explicit local binding, ephemeral local port, and an unchanged remote destination. It needs no KDC or network connection and makes no production-code changes. Confirmed regression: restoring the original line makes the `true` case fail (it binds to loopback rather than wildcard), while `false` passes. With this PR's fix, both cases pass (about one second). Checkstyle and the hdds-common RAT check also pass on JDK 21. Generated-by: Codex (GPT-6) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
