Skip to content

Commit 92cbfe9

Browse files
committed
fix: external service
Signed-off-by: Ashing Zheng <[email protected]>
1 parent 1812e75 commit 92cbfe9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/crds/v2/route.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,15 +1603,15 @@ spec:
16031603
It("access third-party service directly", func() {
16041604
upstreamName := s.Namespace()
16051605
routeName := s.Namespace()
1606-
createApisixUpstream(apiv2.ExternalTypeDomain, "httpbin.org", upstreamName)
1606+
createApisixUpstream(apiv2.ExternalTypeDomain, "httpbin-service-e2e-test", upstreamName)
16071607
createApisixRoute(routeName, upstreamName)
16081608
verifyAccess()
16091609
})
16101610

16111611
It("access third-party service with host rewrite", func() {
16121612
upstreamName := s.Namespace()
16131613
routeName := s.Namespace()
1614-
createApisixUpstream(apiv2.ExternalTypeDomain, "httpbin.org", upstreamName)
1614+
createApisixUpstream(apiv2.ExternalTypeDomain, "httpbin-service-e2e-test", upstreamName)
16151615
createApisixRouteWithHostRewrite(routeName, "httpbin.org", upstreamName)
16161616
verifyAccess()
16171617
})
@@ -1620,7 +1620,7 @@ spec:
16201620
externalServiceName := s.Namespace()
16211621
upstreamName := s.Namespace()
16221622
routeName := s.Namespace()
1623-
createExternalService("httpbin.org", externalServiceName)
1623+
createExternalService("httpbin-service-e2e-test", externalServiceName)
16241624
createApisixUpstream(apiv2.ExternalTypeService, externalServiceName, upstreamName)
16251625
createApisixRoute(routeName, upstreamName)
16261626
verifyAccess()

0 commit comments

Comments
 (0)