File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -2285,6 +2285,9 @@ spec:
22852285 namespace: %s
22862286`
22872287 BeforeEach (func () {
2288+ if framework .IngressVersion != "v1" {
2289+ Skip ("skipping test in non-v1 ingress version" )
2290+ }
22882291 s .DeployNginx (framework.NginxOptions {
22892292 Namespace : s .Namespace (),
22902293 Replicas : ptr .To (int32 (1 )),
Original file line number Diff line number Diff line change @@ -2444,9 +2444,6 @@ spec:
24442444 })
24452445
24462446 Context ("Test Service With AppProtocol" , func () {
2447- if framework .IngressVersion != "v1" {
2448- Skip ("skipping test in non-v1 ingress version" )
2449- }
24502447 var (
24512448 httproute = `
24522449apiVersion: gateway.networking.k8s.io/v1
@@ -2489,6 +2486,9 @@ spec:
24892486 )
24902487
24912488 BeforeEach (func () {
2489+ if framework .IngressVersion != "v1" {
2490+ Skip ("skipping test in non-v1 ingress version" )
2491+ }
24922492 beforeEachHTTPS ()
24932493 s .DeployNginx (framework.NginxOptions {
24942494 Namespace : s .Namespace (),
Original file line number Diff line number Diff line change @@ -1039,6 +1039,9 @@ spec:
10391039 number: 8443
10401040`
10411041 BeforeEach (func () {
1042+ if framework .IngressVersion != "v1" {
1043+ Skip ("skipping test in non-v1 ingress version" )
1044+ }
10421045 s .DeployNginx (framework.NginxOptions {
10431046 Namespace : s .Namespace (),
10441047 Replicas : ptr .To (int32 (1 )),
You can’t perform that action at this time.
0 commit comments