From 8d5b28ca490be2bddf9cef1443b1afdac599a157 Mon Sep 17 00:00:00 2001 From: rongxin Date: Mon, 29 Aug 2022 15:24:34 +0800 Subject: [PATCH] update e2e --- test/e2e/suite-ingress/suite-ingress-features/namespace.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/suite-ingress/suite-ingress-features/namespace.go b/test/e2e/suite-ingress/suite-ingress-features/namespace.go index f4610b0916..a41b6fb4e3 100644 --- a/test/e2e/suite-ingress/suite-ingress-features/namespace.go +++ b/test/e2e/suite-ingress/suite-ingress-features/namespace.go @@ -151,7 +151,7 @@ spec: _ = s.NewAPISIXClient().GET("/headers").WithHeader("Host", "local.httpbin.org").Expect().Status(http.StatusNotFound) // remove route1 - assert.Nil(ginkgo.GinkgoT(), s.DeleteResourceFromStringWithNamespace(route1, namespace1), "delte ingress") + assert.Nil(ginkgo.GinkgoT(), s.DeleteResourceFromStringWithNamespace(route1, namespace1), "delete ingress") time.Sleep(6 * time.Second) deleteNamespace(namespace1) @@ -177,7 +177,7 @@ spec: }) }) -var _ = ginkgo.Describe("suite-ingress-features: namespacing fltering disable", func() { +var _ = ginkgo.Describe("suite-ingress-features: namespacing filtering disable", func() { s := scaffold.NewScaffold(&scaffold.Options{ Name: "disable-namespace-selector", IngressAPISIXReplicas: 1, @@ -336,7 +336,7 @@ spec: }}, metav1.UpdateOptions{}, ) - assert.Nil(ginkgo.GinkgoT(), err, "creating namespace") + assert.Nil(ginkgo.GinkgoT(), err, "unlabel the namespace") time.Sleep(6 * time.Second) routes, err := s.ListApisixRoutes() assert.Nil(ginkgo.GinkgoT(), err)