Skip to content

Commit

Permalink
update e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
AlinsRan committed Aug 29, 2022
1 parent c94544c commit 8d5b28c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/suite-ingress/suite-ingress-features/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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,
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8d5b28c

Please sign in to comment.