[WIP] Merge Redundant TLS & OIDC e2e Tests #6441
knative-style.yaml
on: pull_request
style
/
changes
3s
style
/
...
/
Auto-format and Check
24s
style
/
...
/
Lint
3m 16s
style
/
...
/
Do Not Submit
8s
style
/
...
/
shell
0s
style
/
...
/
yaml
0s
style
/
...
/
github_actions
0s
Matrix: style / Golang / Boilerplate Check
Annotations
5 errors and 4 warnings
style / Golang / Auto-format and Check:
test/rekt/parallel_test.go#L1
Please run goimports.
diff --git a/test/rekt/parallel_test.go b/test/rekt/parallel_test.go
index 67cea85..2a41c64 100644
--- a/test/rekt/parallel_test.go
+++ b/test/rekt/parallel_test.go
@@ -73,25 +73,25 @@ func TestParallelSupportsOIDC(t *testing.T) {
}
func TestParallelTLSAndOIDC(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),
- )
- t.Cleanup(env.Finish)
-
- t.Run("TestParallelTLS", func(t *testing.T) {
- t.Parallel()
- env.Test(ctx, t, parallel.ParallelWithTwoBranchesTLS(channel_template.ImmemoryChannelTemplate()))
- })
-
- t.Run("TestParallelOIDC", func(t *testing.T) {
- t.Parallel()
- env.Test(ctx, t, parallel.ParallelWithTwoBranchesOIDC(channel_template.ImmemoryChannelTemplate()))
- })
+ t.Parallel()
+
+ ctx, env := global.Environment(
+ knative.WithKnativeNamespace(system.Namespace()),
+ knative.WithLoggingConfig,
+ knative.WithTracingConfig,
+ k8s.WithEventListener,
+ environment.Managed(t),
+ eventshub.WithTLS(t),
+ )
+ t.Cleanup(env.Finish)
+
+ t.Run("TestParallelTLS", func(t *testing.T) {
+ t.Parallel()
+ env.Test(ctx, t, parallel.ParallelWithTwoBranchesTLS(channel_template.ImmemoryChannelTemplate()))
+ })
+
+ t.Run("TestParallelOIDC", func(t *testing.T) {
+ t.Parallel()
+ env.Test(ctx, t, parallel.ParallelWithTwoBranchesOIDC(channel_template.ImmemoryChannelTemplate()))
+ })
}
|
style / Golang / Auto-format and Check:
test/rekt/pingsource_test.go#L1
Please run goimports.
diff --git a/test/rekt/pingsource_test.go b/test/rekt/pingsource_test.go
index 0c3831e..737ee99 100644
--- a/test/rekt/pingsource_test.go
+++ b/test/rekt/pingsource_test.go
@@ -104,26 +104,26 @@ func TestPingSourceDataPlane_BrokerAsSinkTLS(t *testing.T) {
}
func TestPingSourceTLSAndOIDC(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),
- )
- t.Cleanup(env.Finish)
-
- t.Run("SendsEventsTLS", func(t *testing.T) {
- t.Parallel()
- env.ParallelTest(ctx, t, pingsource.SendsEventsTLS())
- env.ParallelTest(ctx, t, pingsource.SendsEventsTLSTrustBundle())
- })
-
- t.Run("SendsEventsOIDC", func(t *testing.T) {
- t.Parallel()
- env.Test(ctx, t, pingsource.PingSourceSendEventOIDC())
- })
-}
\ No newline at end of file
+ t.Parallel()
+
+ ctx, env := global.Environment(
+ knative.WithKnativeNamespace(system.Namespace()),
+ knative.WithLoggingConfig,
+ knative.WithTracingConfig,
+ k8s.WithEventListener,
+ environment.Managed(t),
+ eventshub.WithTLS(t),
+ )
+ t.Cleanup(env.Finish)
+
+ t.Run("SendsEventsTLS", func(t *testing.T) {
+ t.Parallel()
+ env.ParallelTest(ctx, t, pingsource.SendsEventsTLS())
+ env.ParallelTest(ctx, t, pingsource.SendsEventsTLSTrustBundle())
+ })
+
+ t.Run("SendsEventsOIDC", func(t *testing.T) {
+ t.Parallel()
+ env.Test(ctx, t, pingsource.PingSourceSendEventOIDC())
+ })
+}
|
style / Golang / Auto-format and Check
Process completed with exit code 1.
|
style / Golang / Lint:
test/rekt/pingsource_test.go#L129
[EOF Newline] reported by reviewdog 🐶
Missing newline
Raw Output:
test/rekt/pingsource_test.go:129: Missing newline
|
style / Golang / Lint
Process completed with exit code 1.
|
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing/eventing. Supported file pattern: go.sum
|
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing/eventing. Supported file pattern: go.sum
|
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing/eventing. Supported file pattern: go.sum
|
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing/eventing. Supported file pattern: go.sum
|