This is an automated email from the ASF dual-hosted git repository.
ronething 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 f4181872 test: use internal service instead of third party service
(#2629)
f4181872 is described below
commit f4181872634e81eb8050e8fe1115e5d0dc073357
Author: Ashing Zheng <[email protected]>
AuthorDate: Wed Oct 29 15:17:25 2025 +0800
test: use internal service instead of third party service (#2629)
---
test/e2e/crds/v2/route.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/e2e/crds/v2/route.go b/test/e2e/crds/v2/route.go
index 5509b3af..f7b0f587 100644
--- a/test/e2e/crds/v2/route.go
+++ b/test/e2e/crds/v2/route.go
@@ -1513,7 +1513,7 @@ spec:
It("access third-party service directly", func() {
upstreamName := s.Namespace()
routeName := s.Namespace()
- createApisixUpstream(apiv2.ExternalTypeDomain,
"httpbin.org", upstreamName)
+ createApisixUpstream(apiv2.ExternalTypeDomain,
"httpbin-service-e2e-test", upstreamName)
createApisixRoute(routeName, upstreamName)
verifyAccess()
})
@@ -1521,7 +1521,7 @@ spec:
It("access third-party service with host rewrite", func() {
upstreamName := s.Namespace()
routeName := s.Namespace()
- createApisixUpstream(apiv2.ExternalTypeDomain,
"httpbin.org", upstreamName)
+ createApisixUpstream(apiv2.ExternalTypeDomain,
"httpbin-service-e2e-test", upstreamName)
createApisixRouteWithHostRewrite(routeName,
"httpbin.org", upstreamName)
verifyAccess()
})
@@ -1530,7 +1530,7 @@ spec:
externalServiceName := s.Namespace()
upstreamName := s.Namespace()
routeName := s.Namespace()
- createExternalService("httpbin.org",
externalServiceName)
+ createExternalService("httpbin-service-e2e-test",
externalServiceName)
createApisixUpstream(apiv2.ExternalTypeService,
externalServiceName, upstreamName)
createApisixRoute(routeName, upstreamName)
verifyAccess()