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 c3029474f0 HDDS-8941. Intermittent timeout in
TestContainerBalancerTask (#6082)
c3029474f0 is described below
commit c3029474f03c6c980781db1bde280ae14a2942c0
Author: Arafat2198 <[email protected]>
AuthorDate: Thu Jan 25 15:16:42 2024 +0530
HDDS-8941. Intermittent timeout in TestContainerBalancerTask (#6082)
---
.../hadoop/hdds/scm/container/balancer/TestContainerBalancerTask.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
a/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/balancer/TestContainerBalancerTask.java
b/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/balancer/TestContainerBalancerTask.java
index 3b1d4db065..3bed387812 100644
---
a/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/balancer/TestContainerBalancerTask.java
+++
b/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/balancer/TestContainerBalancerTask.java
@@ -53,7 +53,6 @@ import
org.apache.hadoop.hdds.scm.server.StorageContainerManager;
import org.apache.hadoop.hdds.server.events.EventPublisher;
import org.apache.hadoop.ozone.OzoneConsts;
import org.apache.ozone.test.GenericTestUtils;
-import org.apache.ozone.test.tag.Unhealthy;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
@@ -1048,7 +1047,6 @@ public class TestContainerBalancerTask {
stopBalancer();
}
- @Unhealthy("HDDS-8941")
@Test
public void testDelayedStart() throws InterruptedException, TimeoutException
{
conf.setTimeDuration("hdds.scm.wait.time.after.safemode.exit", 10,
@@ -1066,7 +1064,7 @@ public class TestContainerBalancerTask {
This is the delay before it starts balancing.
*/
GenericTestUtils.waitFor(
- () -> balancingThread.getState() == Thread.State.TIMED_WAITING, 1, 20);
+ () -> balancingThread.getState() == Thread.State.TIMED_WAITING, 1, 40);
assertEquals(Thread.State.TIMED_WAITING,
balancingThread.getState());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]