We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2ea254 commit 9050538Copy full SHA for 9050538
test/e2e/gatewayapi/httproute.go
@@ -641,12 +641,13 @@ spec:
641
}
642
643
// assert that conflict policies are not in effect
644
- s.NewAPISIXClient().
645
- GET("/get").
646
- WithHost("httpbin.example").
647
- WithHeader("X-Route-Name", "httpbin").
648
- Expect().
649
- Status(http.StatusOK)
+ Eventually(func() int {
+ return s.NewAPISIXClient().
+ GET("/get").
+ WithHost("httpbin.example").
+ WithHeader("X-Route-Name", "httpbin").
+ Expect().Raw().StatusCode
650
+ }).WithTimeout(8 * time.Second).ProbeEvery(time.Second).Should(Equal(http.StatusOK))
651
})
652
653
PIt("HTTPRoutePolicy status changes on HTTPRoute deleting", func() {
0 commit comments