This is an automated email from the ASF dual-hosted git repository.

kvn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new e1a85f1  fix: broken e2e test case (#224)
e1a85f1 is described below

commit e1a85f165d16b6d9d2dd78270f2a45c2abf586f0
Author: Alex Zhang <zchao1...@gmail.com>
AuthorDate: Tue Feb 2 15:46:07 2021 +0800

    fix: broken e2e test case (#224)
---
 test/e2e/endpoints/endpoints.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/e2e/endpoints/endpoints.go b/test/e2e/endpoints/endpoints.go
index c2548bd..8beae6a 100644
--- a/test/e2e/endpoints/endpoints.go
+++ b/test/e2e/endpoints/endpoints.go
@@ -69,6 +69,6 @@ spec:
                // Now delete the backend httpbin service resource.
                assert.Nil(ginkgo.GinkgoT(), s.DeleteHTTPBINService())
                time.Sleep(3 * time.Second)
-               s.NewAPISIXClient().GET("/ip").WithHeader("Host", 
"httpbin.com").Expect().Status(http.StatusBadGateway)
+               s.NewAPISIXClient().GET("/ip").WithHeader("Host", 
"httpbin.com").Expect().Status(http.StatusServiceUnavailable)
        })
 })

Reply via email to