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 2349008111 HDDS-8714. TestScmHAFinalization: mark
testFinalizationWithRestart as flaky, enable other test cases
2349008111 is described below
commit 23490081115a8bcd55126f31c56748b2c2c85d06
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Thu Jun 8 16:45:33 2023 +0200
HDDS-8714. TestScmHAFinalization: mark testFinalizationWithRestart as
flaky, enable other test cases
---
.../java/org/apache/hadoop/hdds/upgrade/TestScmHAFinalization.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/upgrade/TestScmHAFinalization.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/upgrade/TestScmHAFinalization.java
index 42c9fc4849..f9f6871f54 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/upgrade/TestScmHAFinalization.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/upgrade/TestScmHAFinalization.java
@@ -35,9 +35,9 @@ import
org.apache.hadoop.ozone.upgrade.InjectedUpgradeFinalizationExecutor.Upgra
import org.apache.hadoop.ozone.upgrade.UpgradeFinalizationExecutor;
import org.apache.hadoop.ozone.upgrade.UpgradeTestUtils;
import org.apache.ozone.test.GenericTestUtils;
+import org.apache.ozone.test.tag.Flaky;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
@@ -61,7 +61,6 @@ import static
org.apache.hadoop.hdds.protocol.datanode.proto.ContainerProtos.Con
* Tests upgrade finalization failure scenarios and corner cases specific to
SCM
* HA.
*/
-@Disabled("HDDS-8714, HDDS-8740")
public class TestScmHAFinalization {
private static final String CLIENT_ID = UUID.randomUUID().toString();
private static final Logger LOG =
@@ -189,6 +188,7 @@ public class TestScmHAFinalization {
@ParameterizedTest
@MethodSource(METHOD_SOURCE)
+ @Flaky("HDDS-8714")
public void testFinalizationWithRestart(
UpgradeTestInjectionPoints haltingPoint) throws Exception {
CountDownLatch terminateLatch = new CountDownLatch(1);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]