Skip to content

Commit fb863b8

Browse files
committed
Add some margin to slow test.
1 parent 2eef957 commit fb863b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reader_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ func waitForTopic(ctx context.Context, t *testing.T, topic string) {
364364
}
365365
}
366366

367-
t.Logf("retrying after 1s")
367+
t.Logf("retrying after 100ms")
368368
time.Sleep(100 * time.Millisecond)
369369
continue
370370
}
@@ -1560,7 +1560,7 @@ func TestConsumerGroupWithGroupTopicsSingle(t *testing.T) {
15601560
}
15611561

15621562
func TestConsumerGroupWithGroupTopicsMultiple(t *testing.T) {
1563-
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
1563+
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
15641564
defer cancel()
15651565

15661566
client, shutdown := newLocalClient()

0 commit comments

Comments
 (0)