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 eec0c14b39d HDDS-16589. Intermittent failure in
testOMProxyProviderFailoverOnConnectionFailure (#11312)
eec0c14b39d is described below
commit eec0c14b39dce6bb342ec122a74a638f79d453f7
Author: Russole Chen <[email protected]>
AuthorDate: Thu Sep 24 01:28:47 2026 +0800
HDDS-16589. Intermittent failure in
testOMProxyProviderFailoverOnConnectionFailure (#11312)
---
.../org/apache/hadoop/ozone/om/TestOzoneManagerHAWithStoppedNodes.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithStoppedNodes.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithStoppedNodes.java
index 63556c80eba..f6556b530fe 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithStoppedNodes.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithStoppedNodes.java
@@ -239,13 +239,14 @@ public void
testOMProxyProviderFailoverOnConnectionFailure()
ObjectStore objectStore = getObjectStore();
final HadoopRpcOMFailoverProxyProvider<OzoneManagerProtocolPB>
omFailoverProxyProvider
= OmTestUtil.getFailoverProxyProvider(objectStore);
- String firstProxyNodeId =
omFailoverProxyProvider.getCurrentProxyOMNodeId();
createVolumeTest(true);
+ String firstProxyNodeId =
omFailoverProxyProvider.getCurrentProxyOMNodeId();
// On stopping the current OM Proxy, the next connection attempt should
// failover to a another OM proxy.
getCluster().stopOzoneManager(firstProxyNodeId);
+ waitForLeaderToBeReady();
// Next request to the proxy provider should result in a failover
createVolumeTest(true);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]