Skip to content

Commit

Permalink
Merge pull request #741 from twmb/test_bump
Browse files Browse the repository at this point in the history
kgo: bump consumer_direct_test timeout, make non-parallel
  • Loading branch information
twmb authored May 26, 2024
2 parents aaae445 + d7a80b5 commit d1514f9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/kgo/consumer_direct_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,6 @@ func TestPauseIssue489(t *testing.T) {
}

func TestPauseIssueOct2023(t *testing.T) {
t.Parallel()

t1, cleanup1 := tmpTopicPartitions(t, 1)
t2, cleanup2 := tmpTopicPartitions(t, 1)
t3, cleanup3 := tmpTopicPartitions(t, 1)
Expand Down Expand Up @@ -431,7 +429,7 @@ func TestPauseIssueOct2023(t *testing.T) {
{"records", func(ctx context.Context) Fetches { return cl.PollRecords(ctx, 1000) }},
} {
for i := 0; i < 10; i++ {
ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
ctx, cancel := context.WithTimeout(ctx, 30*time.Second)
var sawt1, sawt2, sawt3 bool
for (!sawt1 || !sawt2 || !sawt3) && !closed(ctx.Done()) {
fs := pollfn.fn(ctx)
Expand Down

0 comments on commit d1514f9

Please sign in to comment.