cmssczy commented on a change in pull request #919:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/919#discussion_r828652747



##########
File path: test/e2e/ingress/namespace.go
##########
@@ -86,7 +88,94 @@ spec:
       servicePort: %d
 `, backendSvc, backendSvcPort[0])
 
-               assert.Nil(ginkgo.GinkgoT(), 
s.CreateResourceFromStringWithNamespace(route, "default"), "creating 
ApisixRoute")
-               _ = s.NewAPISIXClient().GET("/headers").WithHeader("Host", 
"httpbin.com").Expect().Status(http.StatusNotFound)
+                       assert.Nil(ginkgo.GinkgoT(), 
s.CreateResourceFromStringWithNamespace(route, "default"), "creating 
ApisixRoute")
+                       _ = 
s.NewAPISIXClient().GET("/headers").WithHeader("Host", 
"httpbin.com").Expect().Status(http.StatusNotFound)
+               })
+       })
+
+       ginkgo.Context("without namespace_selector", func() {
+               // make namespace_selector empty
+               s.DisableNamespaceSelector()
+               namespace := "second-httpbin-service-namespace"

Review comment:
       I think there is no difference between two namespaces and three or more 
namespaces in this test cases.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to