Skip to content

Commit 5c858bb

Browse files
committed
pending some cases
1 parent 8deb79b commit 5c858bb

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

test/e2e/gatewayapi/httproute.go

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -520,15 +520,10 @@ spec:
520520
Eventually(request).WithTimeout(5 * time.Second).ProbeEvery(time.Second).Should(Equal(http.StatusNotFound))
521521
})
522522

523-
It("Proxy External Service", func() {
524-
By("create HTTPRoute")
525-
s.ApplyHTTPRoute(types.NamespacedName{Namespace: s.Namespace(), Name: "httpbin"}, httprouteWithExternalName)
526-
527-
By("checking the external service response")
528-
request := func() int {
529-
return s.NewAPISIXClient().GET("/get").WithHost("httpbin.external").Expect().Raw().StatusCode
530-
}
531-
Eventually(request).WithTimeout(5 * time.Second).ProbeEvery(time.Second).Should(Equal(http.StatusOK))
523+
PIt("Proxy External Service", func() {
524+
s.ApplyHTTPRoute(types.NamespacedName{Namespace: s.Namespace(), Name: "httpbin"}, httprouteWithExternalName, func(_ context.Context) (done bool, err error) {
525+
return s.NewAPISIXClient().GET("/get").WithHost("httpbin.external").Expect().Raw().StatusCode == http.StatusOK, nil
526+
})
532527
})
533528

534529
It("Match Port", func() {
@@ -1347,7 +1342,7 @@ spec:
13471342
Header("Location").IsEqual("http://httpbin.org/headers")
13481343
})
13491344

1350-
It("HTTPRoute RequestMirror", func() {
1345+
PIt("HTTPRoute RequestMirror", func() {
13511346
const echoService = `
13521347
apiVersion: apps/v1
13531348
kind: Deployment

0 commit comments

Comments
 (0)