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



##########
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:
       Yes, there is no difference.  Point it out just because the content of 
the comment below doesn't match the logic.




-- 
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