Skip to content

Commit 334c1d2

Browse files
committed
set session timeout 10 secs
1 parent 198c67b commit 334c1d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/docker/kraft/server.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ authorizer.class.name=org.apache.kafka.metadata.authorizer.StandardAuthorizer
2828
sasl.enabled.mechanisms=PLAIN
2929
controller.quorum.voters=0@kafka:38705
3030
group.consumer.min.session.timeout.ms =6000
31-
group.consumer.session.timeout.ms = 7000
31+
group.consumer.session.timeout.ms = 10000

test/promisified/consumer/groupInstanceId.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
jest.setTimeout(100000);
1+
jest.setTimeout(30000);
22

33
const { waitFor,
44
secureRandom,
@@ -131,8 +131,8 @@ describe('Consumer with static membership', () => {
131131
await waitFor(() => consumer2.assignment().length === 2, () => null, 1000);
132132

133133
expect(consumer2.assignment().length).toBe(2);
134-
expect(assigns).toBe(2);
135134
if (testConsumerGroupProtocolClassic()) {
135+
expect(assigns).toBe(2);
136136
expect(revokes).toBe(1);
137137
}
138138

0 commit comments

Comments
 (0)