3737import com .sun .tools .attach .VirtualMachine ;
3838import org .apache .tsfile .utils .Pair ;
3939import org .junit .After ;
40+ import org .junit .Ignore ;
4041import org .junit .Rule ;
41- import org .junit .Test ;
4242import org .junit .experimental .categories .Category ;
4343import org .junit .rules .ErrorCollector ;
4444import org .junit .rules .TemporaryFolder ;
7777/** Process-level status persistence checks with three actual ConfigRegion voters. */
7878@ RunWith (IoTDBTestRunner .class )
7979@ Category (ClusterIT .class )
80+ @ Ignore ("Temporarily skip IoTDBNodeStatusFailoverIT" )
8081public class IoTDBNodeStatusFailoverIT {
8182 @ Rule public TemporaryFolder temporary = new TemporaryFolder ();
8283 @ Rule public ErrorCollector failures = new ErrorCollector ();
@@ -88,7 +89,7 @@ public void tearDown() {
8889 EnvFactory .getEnv ().cleanClusterEnvironment ();
8990 }
9091
91- @ Test
92+ // @Test
9293 public void testGracefulLeaderShutdownPreservesStoppedAndRemoving () throws Exception {
9394 init (3 );
9495 int stopped = stoppedFixture (0 );
@@ -113,7 +114,7 @@ public void testGracefulLeaderShutdownPreservesStoppedAndRemoving() throws Excep
113114 assertStatus (1 , removing , NodeStatus .Removing );
114115 }
115116
116- @ Test
117+ // @Test
117118 public void testGracefulSeedShutdownReportsStopped () throws Exception {
118119 init (1 );
119120 transfer (1 );
@@ -136,7 +137,7 @@ public void testGracefulSeedShutdownReportsStopped() throws Exception {
136137 awaitPersisted (2 , seedId , null );
137138 }
138139
139- @ Test
140+ // @Test
140141 public void testForcedLeaderShutdownWithTwoDataNodes () throws Exception {
141142 init (2 );
142143 int stopped = stoppedFixture (0 );
@@ -156,7 +157,7 @@ public void testForcedLeaderShutdownWithTwoDataNodes() throws Exception {
156157 assertStatus (0 , stopped , NodeStatus .Stopped );
157158 }
158159
159- @ Test
160+ // @Test
160161 public void testNewLeaderChangesSurviveReturnToOriginalLeader () throws Exception {
161162 init (3 );
162163 int stopped = stoppedFixture (0 );
@@ -180,7 +181,7 @@ public void testNewLeaderChangesSurviveReturnToOriginalLeader() throws Exception
180181 assertStatus (1 , removing , NodeStatus .Unknown );
181182 }
182183
183- @ Test
184+ // @Test
184185 public void testReadOnlyReasonPersistsAcrossLeaderTransferAndClearsAfterRestart ()
185186 throws Exception {
186187 init (2 );
@@ -229,7 +230,7 @@ public void testReadOnlyReasonPersistsAcrossLeaderTransferAndClearsAfterRestart(
229230 }
230231 }
231232
232- @ Test
233+ // @Test
233234 public void testLiveOldLeaderPartitionAndQuorumRecovery () throws Exception {
234235 init (3 );
235236 int stopped = stoppedFixture (0 );
@@ -298,7 +299,7 @@ private void init(int dataNodes) throws Exception {
298299 }
299300 }
300301
301- @ Test
302+ // @Test
302303 public void testNoQuorumTransitionMatrix () throws Exception {
303304 init (2 );
304305 int nodeId = stoppedFixture (0 );
@@ -361,7 +362,7 @@ public void testNoQuorumTransitionMatrix() throws Exception {
361362 }
362363 }
363364
364- @ Test
365+ // @Test
365366 public void testSnapshotAndFollowingClearLogRecoverTogether () throws Exception {
366367 init (3 );
367368 int stopped = stoppedFixture (0 );
@@ -457,7 +458,7 @@ private void awaitConfigNodeRunning(int index) {
457458 Collections .singletonList (NodeStatus .Running ));
458459 }
459460
460- @ Test
461+ // @Test
461462 public void testRealRemovalPersistsIntentAndDeletesRegistration () throws Exception {
462463 EnvFactory .getEnv ()
463464 .getConfig ()
0 commit comments