Skip to content

Commit

Permalink
Prevent excessive wait time in KafkaSender for upgrade tests (knative…
Browse files Browse the repository at this point in the history
…-extensions#1107) (#586)

Co-authored-by: Martin Gencur <mgencur@redhat.com>

Co-authored-by: Knative Prow Robot <knative-prow-robot@google.com>
  • Loading branch information
mgencur and knative-prow-robot authored Feb 24, 2022
1 parent 631bbac commit cef9579
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/upgrade/continual/kafkasender.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ func (k *kafkaSender) SendEvent(ce cloudevents.Event, rawEndpoint interface{}) e
WithClientId("continualtests-kafka-sender").
WithDefaults().
Build(k.ctx)
// Prevent excessive wait time.
conf.Producer.RequiredAcks = sarama.WaitForLocal
if err != nil {
return err
}
Expand Down

0 comments on commit cef9579

Please sign in to comment.