Skip to content

add e2e tests for CORS feature #1407

add e2e tests for CORS feature

add e2e tests for CORS feature #1407

Triggered via pull request June 4, 2024 17:18
Status Failure
Total duration 2m 6s
Artifacts

knative-style.yaml

on: pull_request
style  /  changes
2s
style / changes
style  /  ...  /  Auto-format and Check
13s
style / Golang / Auto-format and Check
style  /  ...  /  Lint
1m 47s
style / Golang / Lint
style  /  ...  /  Do Not Submit
8s
style / Golang / Do Not Submit
style  /  ...  /  shell
0s
style / suggester / shell
style  /  ...  /  yaml
0s
style / suggester / yaml
style  /  ...  /  github_actions
0s
style / suggester / github_actions
Matrix: style / Golang / Boilerplate Check
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
style / Golang / Auto-format and Check: test/conformance/cors_test.go#L1
Please run goimports. diff --git a/test/conformance/cors_test.go b/test/conformance/cors_test.go index d11b6f8..4ada213 100644 --- a/test/conformance/cors_test.go +++ b/test/conformance/cors_test.go @@ -22,14 +22,15 @@ package conformance import ( "context" "encoding/json" + "strings" + "testing" + "time" + "github.com/google/go-cmp/cmp" v1 "github.com/projectcontour/contour/apis/projectcontour/v1" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/types" "knative.dev/pkg/system" - "strings" - "testing" - "time" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr"
style / Golang / Auto-format and Check
Process completed with exit code 1.
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/net-contour/net-contour. Supported file pattern: go.sum
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/net-contour/net-contour. Supported file pattern: go.sum
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/net-contour/net-contour. Supported file pattern: go.sum
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/net-contour/net-contour. Supported file pattern: go.sum