You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by er...@apache.org on 2025/07/29 19:06:07 UTC

(ozone) branch master updated: HDDS-13407. Fix intermittent failure in TestOnDemandContainerDataScanner#testUnhealthyContainersDetected. (#8876)

This is an automated email from the ASF dual-hosted git repository.

erose 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 5e18a30f55 HDDS-13407. Fix intermittent failure in TestOnDemandContainerDataScanner#testUnhealthyContainersDetected. (#8876)
5e18a30f55 is described below

commit 5e18a30f557181a4665f2eef8e25b72dd8075ab2
Author: Ethan Rose <33...@users.noreply.github.com>
AuthorDate: Tue Jul 29 15:06:02 2025 -0400

    HDDS-13407. Fix intermittent failure in TestOnDemandContainerDataScanner#testUnhealthyContainersDetected. (#8876)
---
 .../ozone/container/ozoneimpl/TestOnDemandContainerScanner.java     | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/ozoneimpl/TestOnDemandContainerScanner.java b/hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/ozoneimpl/TestOnDemandContainerScanner.java
index 8bd8f2060b..e14ca07aaa 100644
--- a/hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/ozoneimpl/TestOnDemandContainerScanner.java
+++ b/hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/ozoneimpl/TestOnDemandContainerScanner.java
@@ -35,7 +35,6 @@
 import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
-import static org.mockito.Mockito.verifyNoInteractions;
 import static org.mockito.Mockito.when;
 
 import java.io.IOException;
@@ -222,11 +221,6 @@ public void testScannerMetricsUnregisters() {
   @Test
   @Override
   public void testUnhealthyContainersDetected() throws Exception {
-    // Without initialization,
-    // there shouldn't be interaction with containerController
-    onDemandScanner.scanContainer(corruptData);
-    verifyNoInteractions(controller);
-
     scanContainer(healthy);
     verifyContainerMarkedUnhealthy(healthy, never());
     scanContainer(corruptData);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org