Skip to content

Commit f418187

Browse files
authored
test: use internal service instead of third party service (#2629)
1 parent ee561f7 commit f418187

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
@@ -1513,15 +1513,15 @@ spec:
15131513
It("access third-party service directly", func() {
15141514
upstreamName := s.Namespace()
15151515
routeName := s.Namespace()
1516-
createApisixUpstream(apiv2.ExternalTypeDomain, "httpbin.org", upstreamName)
1516+
createApisixUpstream(apiv2.ExternalTypeDomain, "httpbin-service-e2e-test", upstreamName)
15171517
createApisixRoute(routeName, upstreamName)
15181518
verifyAccess()
15191519
})
15201520

15211521
It("access third-party service with host rewrite", func() {
15221522
upstreamName := s.Namespace()
15231523
routeName := s.Namespace()
1524-
createApisixUpstream(apiv2.ExternalTypeDomain, "httpbin.org", upstreamName)
1524+
createApisixUpstream(apiv2.ExternalTypeDomain, "httpbin-service-e2e-test", upstreamName)
15251525
createApisixRouteWithHostRewrite(routeName, "httpbin.org", upstreamName)
15261526
verifyAccess()
15271527
})
@@ -1530,7 +1530,7 @@ spec:
15301530
externalServiceName := s.Namespace()
15311531
upstreamName := s.Namespace()
15321532
routeName := s.Namespace()
1533-
createExternalService("httpbin.org", externalServiceName)
1533+
createExternalService("httpbin-service-e2e-test", externalServiceName)
15341534
createApisixUpstream(apiv2.ExternalTypeService, externalServiceName, upstreamName)
15351535
createApisixRoute(routeName, upstreamName)
15361536
verifyAccess()

0 commit comments

Comments
 (0)