From 4b65cc5d5658873ec8d67848ddaffedb4d3c7c96 Mon Sep 17 00:00:00 2001 From: Di Wang Date: Mon, 12 Oct 2026 19:51:33 +0800 Subject: [PATCH] Temporarily skip IoTDBNodeStatusFailoverIT Comment out all nine test annotations and ignore the class to prevent JUnit from reporting no runnable methods while the tests are disabled. --- .../it/cluster/IoTDBNodeStatusFailoverIT.java | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/integration-test/src/test/java/org/apache/iotdb/confignode/it/cluster/IoTDBNodeStatusFailoverIT.java b/integration-test/src/test/java/org/apache/iotdb/confignode/it/cluster/IoTDBNodeStatusFailoverIT.java index 13dd39c7a318..570432bcb9fe 100644 --- a/integration-test/src/test/java/org/apache/iotdb/confignode/it/cluster/IoTDBNodeStatusFailoverIT.java +++ b/integration-test/src/test/java/org/apache/iotdb/confignode/it/cluster/IoTDBNodeStatusFailoverIT.java @@ -37,8 +37,8 @@ import com.sun.tools.attach.VirtualMachine; import org.apache.tsfile.utils.Pair; import org.junit.After; +import org.junit.Ignore; import org.junit.Rule; -import org.junit.Test; import org.junit.experimental.categories.Category; import org.junit.rules.ErrorCollector; import org.junit.rules.TemporaryFolder; @@ -77,6 +77,7 @@ /** Process-level status persistence checks with three actual ConfigRegion voters. */ @RunWith(IoTDBTestRunner.class) @Category(ClusterIT.class) +@Ignore("Temporarily skip IoTDBNodeStatusFailoverIT") public class IoTDBNodeStatusFailoverIT { @Rule public TemporaryFolder temporary = new TemporaryFolder(); @Rule public ErrorCollector failures = new ErrorCollector(); @@ -88,7 +89,7 @@ public void tearDown() { EnvFactory.getEnv().cleanClusterEnvironment(); } - @Test + // @Test public void testGracefulLeaderShutdownPreservesStoppedAndRemoving() throws Exception { init(3); int stopped = stoppedFixture(0); @@ -113,7 +114,7 @@ public void testGracefulLeaderShutdownPreservesStoppedAndRemoving() throws Excep assertStatus(1, removing, NodeStatus.Removing); } - @Test + // @Test public void testGracefulSeedShutdownReportsStopped() throws Exception { init(1); transfer(1); @@ -136,7 +137,7 @@ public void testGracefulSeedShutdownReportsStopped() throws Exception { awaitPersisted(2, seedId, null); } - @Test + // @Test public void testForcedLeaderShutdownWithTwoDataNodes() throws Exception { init(2); int stopped = stoppedFixture(0); @@ -156,7 +157,7 @@ public void testForcedLeaderShutdownWithTwoDataNodes() throws Exception { assertStatus(0, stopped, NodeStatus.Stopped); } - @Test + // @Test public void testNewLeaderChangesSurviveReturnToOriginalLeader() throws Exception { init(3); int stopped = stoppedFixture(0); @@ -180,7 +181,7 @@ public void testNewLeaderChangesSurviveReturnToOriginalLeader() throws Exception assertStatus(1, removing, NodeStatus.Unknown); } - @Test + // @Test public void testReadOnlyReasonPersistsAcrossLeaderTransferAndClearsAfterRestart() throws Exception { init(2); @@ -229,7 +230,7 @@ public void testReadOnlyReasonPersistsAcrossLeaderTransferAndClearsAfterRestart( } } - @Test + // @Test public void testLiveOldLeaderPartitionAndQuorumRecovery() throws Exception { init(3); int stopped = stoppedFixture(0); @@ -298,7 +299,7 @@ private void init(int dataNodes) throws Exception { } } - @Test + // @Test public void testNoQuorumTransitionMatrix() throws Exception { init(2); int nodeId = stoppedFixture(0); @@ -361,7 +362,7 @@ public void testNoQuorumTransitionMatrix() throws Exception { } } - @Test + // @Test public void testSnapshotAndFollowingClearLogRecoverTogether() throws Exception { init(3); int stopped = stoppedFixture(0); @@ -457,7 +458,7 @@ private void awaitConfigNodeRunning(int index) { Collections.singletonList(NodeStatus.Running)); } - @Test + // @Test public void testRealRemovalPersistsIntentAndDeletesRegistration() throws Exception { EnvFactory.getEnv() .getConfig()