Skip to content

Commit bfd661b

Browse files
creydrknative-prow-robot
authored andcommitted
Skip KafkaSource TLS tests on Istio
1 parent 1683a04 commit bfd661b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/rekt/features/kafka_source.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"context"
2121
"encoding/json"
2222
"fmt"
23+
"knative.dev/eventing/test/rekt/features/featureflags"
2324
"strings"
2425

2526
cloudevents "github.com/cloudevents/sdk-go/v2"
@@ -556,6 +557,9 @@ func KafkaSourceTLSSink() *feature.Feature {
556557
event.SetID(uuid.NewString())
557558

558559
f := feature.NewFeature()
560+
561+
f.Prerequisite("should not run when Istio is enabled", featureflags.IstioDisabled())
562+
559563
f.Setup("install kafka topic", kafkatopic.Install(topic))
560564
f.Setup("topic is ready", kafkatopic.IsReady(topic))
561565

@@ -603,6 +607,9 @@ func KafkaSourceTLSSinkTrustBundle() *feature.Feature {
603607
event.SetID(uuid.NewString())
604608

605609
f := feature.NewFeature()
610+
611+
f.Prerequisite("should not run when Istio is enabled", featureflags.IstioDisabled())
612+
606613
f.Setup("install kafka topic", kafkatopic.Install(topic))
607614
f.Setup("topic is ready", kafkatopic.IsReady(topic))
608615

0 commit comments

Comments
 (0)