Skip to content

Commit

Permalink
fix config from 1ms to 1000ms
Browse files Browse the repository at this point in the history
  • Loading branch information
m1a2st committed Aug 20, 2024
1 parent 44e7e18 commit d3bb650
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class JoinGroupRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBas
new ClusterConfigProperty(key = "group.coordinator.new.enable", value = "true"),
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 = "group.initial.rebalance.delay.ms", value = "1000"),
))
def testJoinGroupWithOldConsumerGroupProtocolAndNewGroupCoordinator(): Unit = {
testJoinGroup()
Expand All @@ -53,7 +53,7 @@ class JoinGroupRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBas
new ClusterConfigProperty(key = "group.coordinator.new.enable", value = "false"),
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 = "group.initial.rebalance.delay.ms", value = "1000"),
))
def testJoinGroupWithOldConsumerGroupProtocolAndOldGroupCoordinator(): Unit = {
testJoinGroup()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ListGroupsRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBa
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 = "group.initial.rebalance.delay.ms", value = "1000"),
)
)
def testListGroupsWithNewConsumerGroupProtocolAndNewGroupCoordinator(): Unit = {
Expand All @@ -50,7 +50,7 @@ class ListGroupsRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBa
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 = "group.initial.rebalance.delay.ms", value = "1000"),
))
def testListGroupsWithOldConsumerGroupProtocolAndNewGroupCoordinator(): Unit = {
testListGroups(false)
Expand All @@ -60,7 +60,7 @@ class ListGroupsRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBa
new ClusterConfigProperty(key = "group.coordinator.rebalance.protocols", value = "classic"),
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 = "group.initial.rebalance.delay.ms", value = "1000"),
))
def testListGroupsWithOldConsumerGroupProtocolAndOldGroupCoordinator(): Unit = {
testListGroups(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class SyncGroupRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBas
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 = "group.initial.rebalance.delay.ms", value = "1000"),
))
def testSyncGroupWithOldConsumerGroupProtocolAndNewGroupCoordinator(): Unit = {
testSyncGroup()
Expand All @@ -51,7 +51,7 @@ class SyncGroupRequestTest(cluster: ClusterInstance) extends GroupCoordinatorBas
new ClusterConfigProperty(key = "group.coordinator.rebalance.protocols", value = "classic"),
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 = "group.initial.rebalance.delay.ms", value = "1000"),
))
def testSyncGroupWithOldConsumerGroupProtocolAndOldGroupCoordinator(): Unit = {
testSyncGroup()
Expand Down

0 comments on commit d3bb650

Please sign in to comment.