Skip to content

Commit

Permalink
fix(test): reduce retry aggressiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
dnwe committed Feb 25, 2022
1 parent aacc766 commit 43a4bee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functional_producer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ func TestAsyncProducerRemoteBrokerClosed(t *testing.T) {
config.Net.MaxOpenRequests = 1
config.Producer.Flush.MaxMessages = 1
config.Producer.Return.Successes = true
config.Producer.Retry.Max = math.MaxInt32
config.Producer.Retry.Backoff = time.Millisecond
config.Producer.Retry.Max = 1024
config.Producer.Retry.Backoff = time.Millisecond * 50
config.Version, _ = ParseKafkaVersion(FunctionalTestEnv.KafkaVersion)

producer, err := NewAsyncProducer(
Expand Down

0 comments on commit 43a4bee

Please sign in to comment.