Skip to content

Commit

Permalink
Adding Rekt test for IntegrationSink TLS support
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
  • Loading branch information
matzew committed Dec 13, 2024
1 parent 4a0dd0d commit 8f0b74d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/rekt/integration_sink_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
"knative.dev/eventing/test/rekt/features/integrationsink"
"knative.dev/pkg/system"
"knative.dev/reconciler-test/pkg/environment"
"knative.dev/reconciler-test/pkg/eventshub"
"knative.dev/reconciler-test/pkg/k8s"
"knative.dev/reconciler-test/pkg/knative"
)
Expand All @@ -42,3 +43,18 @@ func TestIntegrationSinkSuccess(t *testing.T) {

env.Test(ctx, t, integrationsink.Success())
}

func TestIntegrationSinkSuccessTLS(t *testing.T) {
t.Parallel()

ctx, env := global.Environment(
knative.WithKnativeNamespace(system.Namespace()),
knative.WithLoggingConfig,
knative.WithTracingConfig,
k8s.WithEventListener,
eventshub.WithTLS(t),
environment.Managed(t),
)

env.Test(ctx, t, integrationsink.SuccessTLS())
}

0 comments on commit 8f0b74d

Please sign in to comment.