We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dae099 commit efa7896Copy full SHA for efa7896
1 file changed
packages/kafka/lib/test.spec.ts
@@ -9,7 +9,7 @@ describe('Test', () => {
9
expect(librdkafkaVersion).toBeDefined()
10
})
11
12
- it('should send and receive a message', { timeout: 30000 }, async () => {
+ it('should send and receive a message', { timeout: 35000 }, async () => {
13
// Given
14
const brokers = 'localhost:9092'
15
// Use a fresh, unique topic per run to avoid stale state
@@ -56,7 +56,7 @@ describe('Test', () => {
56
producer.flush()
57
58
// Then
59
- await waitAndRetry(() => receivedMessages.length > 0, 10, 2500)
+ await waitAndRetry(() => receivedMessages.length > 0, 10, 3000)
60
expect(receivedMessages).toHaveLength(1)
61
expect(receivedMessages[0]?.value?.toString()).toBe(messageValue)
62
0 commit comments