You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Add e2e tests for GatewayProxy referencing Secret
Introduce comprehensive e2e tests verifying GatewayProxy's ability to reference Secrets, including scenarios for creating, updating, and validating Secrets with admin keys. Update predicate filters to watch for Secret changes and replace `CurrentNamespace()` with `Namespace()` across multiple test files for consistency. Adjust line length configuration in `.golangci.yml` to accommodate the new test cases.
Copy file name to clipboardExpand all lines: test/e2e/gatewayapi/gateway.go
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,8 @@ spec:
112
112
Expect(gcyaml).To(ContainSubstring("message: the gatewayclass has been accepted by the api7-ingress-controller"), "checking GatewayClass condition message")
Copy file name to clipboardExpand all lines: test/e2e/gatewayapi/httproute.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ spec:
125
125
Expect(gcyaml).To(ContainSubstring("message: the gatewayclass has been accepted by the api7-ingress-controller"), "checking GatewayClass condition message")
Expect(gcyaml).To(ContainSubstring("message: the gatewayclass has been accepted by the api7-ingress-controller"), "checking GatewayClass condition message")
0 commit comments