Skip to content

Commit

Permalink
remove config with reduce test time less test
Browse files Browse the repository at this point in the history
  • Loading branch information
m1a2st committed Aug 11, 2024
1 parent dc4a5e7 commit 9aedd6a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ class KafkaServerKRaftRegistrationTest {
new ClusterConfigProperty(key = "inter.broker.listener.name", value = "EXTERNAL"),
new ClusterConfigProperty(key = "listeners", value = "PLAINTEXT://localhost:0,EXTERNAL://localhost:0"),
new ClusterConfigProperty(key = "advertised.listeners", value = "PLAINTEXT://localhost:0,EXTERNAL://localhost:0"),
new ClusterConfigProperty(key = "listener.security.protocol.map", value = "EXTERNAL:PLAINTEXT,PLAINTEXT:PLAINTEXT"),
new ClusterConfigProperty(key = "group.initial.rebalance.delay.ms", value = "1"),
new ClusterConfigProperty(key = "listener.security.protocol.map", value = "EXTERNAL:PLAINTEXT,PLAINTEXT:PLAINTEXT")
))
def testRegisterZkBrokerInKraft(zkCluster: ClusterInstance): Unit = {
val clusterId = zkCluster.clusterId()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ class ConsumerProtocolMigrationTest(cluster: ClusterInstance) extends GroupCoord
serverProperties = Array(
new ClusterConfigProperty(key = "group.coordinator.rebalance.protocols", value = "classic,consumer"),
new ClusterConfigProperty(key = "offsets.topic.num.partitions", value = "1"),
new ClusterConfigProperty(key = "offsets.topic.replication.factor", value = "1"),
new ClusterConfigProperty(key = "group.initial.rebalance.delay.ms", value = "1"),
new ClusterConfigProperty(key = "offsets.topic.replication.factor", value = "1")
)
)
def testUpgradeFromEmptyClassicToConsumerGroup(): Unit = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ class OffsetFetchRequestTest(cluster: ClusterInstance) extends GroupCoordinatorB
new ClusterConfigProperty(key = "group.consumer.max.session.timeout.ms", value = "600000"),
new ClusterConfigProperty(key = "group.consumer.session.timeout.ms", value = "600000"),
new ClusterConfigProperty(key = "offsets.topic.num.partitions", value = "1"),
new ClusterConfigProperty(key = "offsets.topic.replication.factor", value = "1"),
new ClusterConfigProperty(key = "group.initial.rebalance.delay.ms", value = "1"),
new ClusterConfigProperty(key = "offsets.topic.replication.factor", value = "1")
)
)
def testSingleGroupOffsetFetchWithNewConsumerGroupProtocolAndNewGroupCoordinator(): Unit = {
Expand All @@ -54,8 +53,7 @@ class OffsetFetchRequestTest(cluster: ClusterInstance) extends GroupCoordinatorB
new ClusterConfigProperty(key = "group.consumer.max.session.timeout.ms", value = "600000"),
new ClusterConfigProperty(key = "group.consumer.session.timeout.ms", value = "600000"),
new ClusterConfigProperty(key = "offsets.topic.num.partitions", value = "1"),
new ClusterConfigProperty(key = "offsets.topic.replication.factor", value = "1"),
new ClusterConfigProperty(key = "group.initial.rebalance.delay.ms", value = "1"),
new ClusterConfigProperty(key = "offsets.topic.replication.factor", value = "1")
)
)
def testSingleGroupOffsetFetchWithOldConsumerGroupProtocolAndNewGroupCoordinator(): Unit = {
Expand Down

0 comments on commit 9aedd6a

Please sign in to comment.