Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand All @@ -88,7 +89,7 @@ public void tearDown() {
EnvFactory.getEnv().cleanClusterEnvironment();
}

@Test
// @Test
public void testGracefulLeaderShutdownPreservesStoppedAndRemoving() throws Exception {
init(3);
int stopped = stoppedFixture(0);
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -180,7 +181,7 @@ public void testNewLeaderChangesSurviveReturnToOriginalLeader() throws Exception
assertStatus(1, removing, NodeStatus.Unknown);
}

@Test
// @Test
public void testReadOnlyReasonPersistsAcrossLeaderTransferAndClearsAfterRestart()
throws Exception {
init(2);
Expand Down Expand Up @@ -229,7 +230,7 @@ public void testReadOnlyReasonPersistsAcrossLeaderTransferAndClearsAfterRestart(
}
}

@Test
// @Test
public void testLiveOldLeaderPartitionAndQuorumRecovery() throws Exception {
init(3);
int stopped = stoppedFixture(0);
Expand Down Expand Up @@ -298,7 +299,7 @@ private void init(int dataNodes) throws Exception {
}
}

@Test
// @Test
public void testNoQuorumTransitionMatrix() throws Exception {
init(2);
int nodeId = stoppedFixture(0);
Expand Down Expand Up @@ -361,7 +362,7 @@ public void testNoQuorumTransitionMatrix() throws Exception {
}
}

@Test
// @Test
public void testSnapshotAndFollowingClearLogRecoverTogether() throws Exception {
init(3);
int stopped = stoppedFixture(0);
Expand Down Expand Up @@ -457,7 +458,7 @@ private void awaitConfigNodeRunning(int index) {
Collections.singletonList(NodeStatus.Running));
}

@Test
// @Test
public void testRealRemovalPersistsIntentAndDeletesRegistration() throws Exception {
EnvFactory.getEnv()
.getConfig()
Expand Down
Loading