Skip to content

Commit

Permalink
kgo testing: add UnknownTopicRetries(-1)
Browse files Browse the repository at this point in the history
Failing in CI without unlimited retries (i.e. slow cluster).
  • Loading branch information
twmb committed Jan 21, 2024
1 parent c07b329 commit 636b45c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/kgo/consumer_direct_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ func TestIssue523(t *testing.T) {
MetadataMinAge(100*time.Millisecond),
FetchMaxWait(time.Second),
KeepRetryableFetchErrors(),
UnknownTopicRetries(-1),
)
defer cl.Close()

Expand Down Expand Up @@ -480,6 +481,7 @@ func TestSetOffsetsForNewTopic(t *testing.T) {
DefaultProduceTopic(t1),
MetadataMinAge(100*time.Millisecond),
FetchMaxWait(time.Second),
UnknownTopicRetries(-1),
)
defer cl.Close()

Expand Down

0 comments on commit 636b45c

Please sign in to comment.