Skip to content

Commit

Permalink
[release-1.13] Skip KafkaSource TLS tests on Istio (#3640)
Browse files Browse the repository at this point in the history
* Skip KafkaSource TLS tests on Istio

* Run goimport

---------

Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
  • Loading branch information
knative-prow-robot and creydr authored Jan 26, 2024
1 parent 1683a04 commit e6b0021
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/rekt/features/kafka_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import (
"fmt"
"strings"

"knative.dev/eventing/test/rekt/features/featureflags"

cloudevents "github.com/cloudevents/sdk-go/v2"
"github.com/cloudevents/sdk-go/v2/test"
. "github.com/cloudevents/sdk-go/v2/test"
Expand Down Expand Up @@ -556,6 +558,9 @@ func KafkaSourceTLSSink() *feature.Feature {
event.SetID(uuid.NewString())

f := feature.NewFeature()

f.Prerequisite("should not run when Istio is enabled", featureflags.IstioDisabled())

f.Setup("install kafka topic", kafkatopic.Install(topic))
f.Setup("topic is ready", kafkatopic.IsReady(topic))

Expand Down Expand Up @@ -603,6 +608,9 @@ func KafkaSourceTLSSinkTrustBundle() *feature.Feature {
event.SetID(uuid.NewString())

f := feature.NewFeature()

f.Prerequisite("should not run when Istio is enabled", featureflags.IstioDisabled())

f.Setup("install kafka topic", kafkatopic.Install(topic))
f.Setup("topic is ready", kafkatopic.IsReady(topic))

Expand Down

0 comments on commit e6b0021

Please sign in to comment.