Skip to content

Commit

Permalink
Adding initial rekt test
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew committed Oct 16, 2024
1 parent 1d4cc75 commit 96df997
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions test/rekt/integrationsource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (

"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 @@ -46,18 +45,18 @@ func TestIntegrationSourceWithSinkRef(t *testing.T) {
env.Test(ctx, t, integrationsource.SendsEventsWithSinkRef())
}

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

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

env.ParallelTest(ctx, t, integrationsource.SendEventsWithTLSRecieverAsSink())
env.ParallelTest(ctx, t, integrationsource.SendEventsWithTLSRecieverAsSinkTrustBundle())
}
//func TestIntegrationSourceWithTLS(t *testing.T) {
// t.Parallel()
//
// ctx, env := global.Environment(
// knative.WithKnativeNamespace(system.Namespace()),
// knative.WithLoggingConfig,
// knative.WithTracingConfig,
// k8s.WithEventListener,
// environment.Managed(t),
// eventshub.WithTLS(t),
// )
//
// env.ParallelTest(ctx, t, integrationsource.SendEventsWithTLSRecieverAsSink())
// env.ParallelTest(ctx, t, integrationsource.SendEventsWithTLSRecieverAsSinkTrustBundle())
//}

0 comments on commit 96df997

Please sign in to comment.