Skip to content

Commit

Permalink
correct format
Browse files Browse the repository at this point in the history
Signed-off-by: sadath-12 <sadathsadu2002@gmail.com>
  • Loading branch information
sadath-12 committed Jan 26, 2024
1 parent 563396a commit 9cb8304
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions test/rekt/apiserversource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,6 @@ func TestApiServerSourceDataPlane_SinkTypes(t *testing.T) {
env.TestSet(ctx, t, apiserversourcefeatures.DataPlane_SinkTypes())
}

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

ctx, env := global.Environment(
knative.WithKnativeNamespace(system.Namespace()),
knative.WithLoggingConfig,
knative.WithTracingConfig,
k8s.WithEventListener,
environment.Managed(t),
environment.WithPollTimings(5*time.Second, 2*time.Minute),
)

env.Test(ctx, t, apiserversourcefeatures.DeployAPIServerSauceWithNodeSelector())
}

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

Expand All @@ -104,7 +89,7 @@ func TestApiServerSourceDataPlane_BrokerAsSinkTLS(t *testing.T) {
knative.WithLoggingConfig,
knative.WithTracingConfig,
k8s.WithEventListener,
// environment.Managed(t),
environment.Managed(t),
eventshub.WithTLS(t),
environment.WithPollTimings(5*time.Second, 2*time.Minute),
)
Expand All @@ -120,7 +105,7 @@ func TestApiServerSourceDataPlaneTLS(t *testing.T) {
knative.WithLoggingConfig,
knative.WithTracingConfig,
k8s.WithEventListener,
environment.Managed(t),
//environment.Managed(t),
eventshub.WithTLS(t),
)

Expand Down Expand Up @@ -198,7 +183,7 @@ func TestApiServerSourceDataPlane_MultipleNamespacesEmptySelector(t *testing.T)
env.Test(ctx, t, apiserversourcefeatures.SendsEventsForAllResourcesWithEmptyNamespaceSelector())
}

func TestApiserversourceSendEventWithJWTOIDC(t *testing.T) {
func TestApiServerSourceDeployement(t *testing.T) {
t.Parallel()

ctx, env := global.Environment(
Expand All @@ -207,8 +192,8 @@ func TestApiserversourceSendEventWithJWTOIDC(t *testing.T) {
knative.WithTracingConfig,
k8s.WithEventListener,
environment.Managed(t),
eventshub.WithTLS(t),
environment.WithPollTimings(5*time.Second, 2*time.Minute),
)

env.Test(ctx, t, apiserversourcefeatures.ApiserversourceSendEventWithJWT())
env.Test(ctx, t, apiserversourcefeatures.DeployAPIServerSauceWithNodeSelector())
}

0 comments on commit 9cb8304

Please sign in to comment.