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) (#588)

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

Co-authored-by: Knative Prow Robot <knative-prow-robot@google.com>
Co-authored-by: Martin Gencur <mgencur@redhat.com>
  • Loading branch information
3 people authored Feb 24, 2022
1 parent bb1a5cf commit e589f0e
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 e589f0e

Please sign in to comment.