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 a19eb1efb7 HDDS-7886. Intermittent timeout in
TestRatisPipelineCreateAndDestroy (#5392)
a19eb1efb7 is described below
commit a19eb1efb773fee8f51b4cc499a92da399833f04
Author: Devesh Kumar Singh <[email protected]>
AuthorDate: Thu Oct 5 16:38:22 2023 +0530
HDDS-7886. Intermittent timeout in TestRatisPipelineCreateAndDestroy (#5392)
---
.../hdds/scm/pipeline/TestRatisPipelineCreateAndDestroy.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/pipeline/TestRatisPipelineCreateAndDestroy.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/pipeline/TestRatisPipelineCreateAndDestroy.java
index a14d8256e1..7e88f45025 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/pipeline/TestRatisPipelineCreateAndDestroy.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/pipeline/TestRatisPipelineCreateAndDestroy.java
@@ -21,6 +21,7 @@ import org.apache.hadoop.hdds.client.RatisReplicationConfig;
import org.apache.hadoop.hdds.conf.OzoneConfiguration;
import org.apache.hadoop.hdds.protocol.proto.HddsProtos;
import org.apache.hadoop.hdds.protocol.proto.HddsProtos.ReplicationFactor;
+import org.apache.hadoop.hdds.scm.ScmConfigKeys;
import org.apache.hadoop.hdds.scm.exceptions.SCMException;
import org.apache.hadoop.hdds.scm.ha.SCMService.Event;
import org.apache.hadoop.hdds.scm.node.NodeStatus;
@@ -28,7 +29,6 @@ import
org.apache.hadoop.hdds.scm.server.StorageContainerManager;
import org.apache.hadoop.ozone.HddsDatanodeService;
import org.apache.hadoop.ozone.MiniOzoneCluster;
import org.apache.ozone.test.GenericTestUtils;
-import org.apache.ozone.test.tag.Flaky;
import org.junit.jupiter.api.AfterEach;
import org.junit.Assert;
import org.junit.jupiter.api.Test;
@@ -55,7 +55,9 @@ public class TestRatisPipelineCreateAndDestroy {
public void init(int numDatanodes) throws Exception {
conf.setInt(OZONE_DATANODE_PIPELINE_LIMIT, 2);
-
+ conf.setTimeDuration(
+ ScmConfigKeys.OZONE_SCM_PIPELINE_CREATION_INTERVAL, 500,
+ TimeUnit.MILLISECONDS);
cluster = MiniOzoneCluster.newBuilder(conf)
.setNumDatanodes(numDatanodes)
.setTotalPipelineNumLimit(numDatanodes + numDatanodes / 3)
@@ -73,7 +75,6 @@ public class TestRatisPipelineCreateAndDestroy {
}
@Test @Timeout(unit = TimeUnit.MILLISECONDS, value = 180000)
- @Flaky("HDDS-7886")
public void testAutomaticPipelineCreationOnPipelineDestroy()
throws Exception {
int numOfDatanodes = 6;
@@ -95,7 +96,6 @@ public class TestRatisPipelineCreateAndDestroy {
}
@Test @Timeout(unit = TimeUnit.MILLISECONDS, value = 180000)
- @Flaky("HDDS-7886")
public void testAutomaticPipelineCreationDisablingFactorONE()
throws Exception {
conf.setBoolean(OZONE_SCM_PIPELINE_AUTO_CREATE_FACTOR_ONE, false);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]