This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 11df47de468 HDDS-17833. Intermittent failure in
TestOMNodeDetails.testSetRatisAddress (#12066)
11df47de468 is described below
commit 11df47de468d371ae0f906a22091cecc84e2e71c
Author: Sergey Soldatov <[email protected]>
AuthorDate: Mon Nov 16 22:53:52 2026 -0800
HDDS-17833. Intermittent failure in TestOMNodeDetails.testSetRatisAddress
(#12066)
Co-authored-by: Claude Opus 5.5 <[email protected]>
---
.../java/org/apache/hadoop/ozone/om/helpers/TestOMNodeDetails.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/hadoop-ozone/common/src/test/java/org/apache/hadoop/ozone/om/helpers/TestOMNodeDetails.java
b/hadoop-ozone/common/src/test/java/org/apache/hadoop/ozone/om/helpers/TestOMNodeDetails.java
index 7a2556689eb..ec10e568db5 100644
---
a/hadoop-ozone/common/src/test/java/org/apache/hadoop/ozone/om/helpers/TestOMNodeDetails.java
+++
b/hadoop-ozone/common/src/test/java/org/apache/hadoop/ozone/om/helpers/TestOMNodeDetails.java
@@ -480,7 +480,8 @@ public void testGetOMNodeDetailsFromConfMissing() throws
Exception {
*/
@Test
public void testSetRatisAddress() {
- InetSocketAddress ratisAddr = new InetSocketAddress("192.168.1.100", 9873);
+ // Unresolved, so getHostName() does not do a reverse DNS lookup, which
some CI runners answer.
+ InetSocketAddress ratisAddr =
InetSocketAddress.createUnresolved("192.168.1.100", 9873);
OMNodeDetails nodeDetails = new OMNodeDetails.Builder()
.setOMServiceId(OM_SERVICE_ID)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]