Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup committed Jan 30, 2024
1 parent 72e214c commit 81943fb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/suite-annotations/svc_namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ spec:

var _ = ginkgo.Describe("suite-annotations: svc-namespace annotations cross-namespace reference service", func() {
s := scaffold.NewDefaultScaffold()

if os.Getenv("K8s_Version") == "v1.29.0" {
return
}
createNamespace := func(namespace string, watch string) {
k8s.CreateNamespaceWithMetadata(ginkgo.GinkgoT(),
&k8s.KubectlOptions{ConfigPath: scaffold.GetKubeconfig()},
Expand Down
3 changes: 3 additions & 0 deletions test/e2e/suite-chore/consistency.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ spec:
)

var _ = ginkgo.Describe("suite-chore: Consistency between APISIX and the CRDs resource of the IngressController", func() {
if os.Getenv("K8s_Version") == "v1.29.0" {
return
}
suites := func(s *scaffold.Scaffold) {
ginkgo.It("ApisixRoute and APISIX of route and upstream", func() {
httpService := fmt.Sprintf(_httpServiceConfig, "port1", 9080, 9080)
Expand Down
3 changes: 3 additions & 0 deletions test/e2e/suite-gateway/route_attchment.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ var _ = ginkgo.Describe("suite-gateway: Route Attachment", func() {
gatewayName := "test-gateway"
// create Gateway resource with AllowedRoute
ginkgo.JustBeforeEach(func() {
if os.Getenv("K8s_Version") == "v1.29.0" {
return
}
gatewayClass := fmt.Sprintf(`
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: GatewayClass
Expand Down

0 comments on commit 81943fb

Please sign in to comment.