Skip to content

Commit

Permalink
remove duplicated testKRaftIsolatedControllerRestart
Browse files Browse the repository at this point in the history
  • Loading branch information
peterxcli committed Jan 8, 2025
1 parent df01bb6 commit 5fe5225
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,20 +352,6 @@ public void testControllerListenerName(ClusterInstance cluster) throws Execution
}
}

@ClusterTest(types = {Type.KRAFT})
public void testKRaftIsolatedControllerRestart(ClusterInstance cluster) throws ExecutionException, InterruptedException {
try (Admin admin = cluster.admin()) {

ControllerServer controller = cluster.controllers().values().iterator().next();
controller.shutdown();
controller.awaitShutdown();

controller.startup();

assertEquals(1, admin.describeMetadataQuorum().quorumInfo().get().nodes().size());
}
}

@ClusterTest(types = {Type.KRAFT}, brokers = 1)
public void testBrokerRestart(ClusterInstance cluster) throws ExecutionException, InterruptedException {
final String topicName = "topic";
Expand Down

0 comments on commit 5fe5225

Please sign in to comment.