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 26ed952a2a HDDS-9263. Intermittent error in 
TestOzoneManagerHAMetadataOnly#testAllVolumeOperations. (#5329)
26ed952a2a is described below

commit 26ed952a2a6e4e5fc7cf89ec46c1c9a2e2a802cc
Author: Arafat2198 <[email protected]>
AuthorDate: Wed Sep 20 17:56:31 2023 +0530

    HDDS-9263. Intermittent error in 
TestOzoneManagerHAMetadataOnly#testAllVolumeOperations. (#5329)
---
 .../src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHA.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHA.java
 
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHA.java
index 41c1618011..60080e57e4 100644
--- 
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHA.java
+++ 
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHA.java
@@ -205,7 +205,6 @@ public abstract class TestOzoneManagerHA {
   @AfterEach
   public void resetCluster()
       throws IOException {
-    IOUtils.closeQuietly(client);
     if (cluster != null) {
       cluster.restartOzoneManager();
     }
@@ -216,6 +215,7 @@ public abstract class TestOzoneManagerHA {
    */
   @AfterAll
   public static void shutdown() {
+    IOUtils.closeQuietly(client);
     if (cluster != null) {
       cluster.shutdown();
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to