Skip to content

Commit efa7896

Browse files
committed
Increasing timeout even more
1 parent 6dae099 commit efa7896

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/kafka/lib/test.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe('Test', () => {
99
expect(librdkafkaVersion).toBeDefined()
1010
})
1111

12-
it('should send and receive a message', { timeout: 30000 }, async () => {
12+
it('should send and receive a message', { timeout: 35000 }, async () => {
1313
// Given
1414
const brokers = 'localhost:9092'
1515
// Use a fresh, unique topic per run to avoid stale state
@@ -56,7 +56,7 @@ describe('Test', () => {
5656
producer.flush()
5757

5858
// Then
59-
await waitAndRetry(() => receivedMessages.length > 0, 10, 2500)
59+
await waitAndRetry(() => receivedMessages.length > 0, 10, 3000)
6060
expect(receivedMessages).toHaveLength(1)
6161
expect(receivedMessages[0]?.value?.toString()).toBe(messageValue)
6262

0 commit comments

Comments
 (0)