File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ KIND_NAME ?= apisix-ingress-cluster
1313GATEAY_API_VERSION ?= v1.2.0
1414
1515DASHBOARD_VERSION ?= dev
16- TEST_TIMEOUT ?= 45m
16+ TEST_TIMEOUT ?= 60m
1717
1818# CRD Reference Documentation
1919CRD_REF_DOCS_VERSION ?= v0.1.0
Original file line number Diff line number Diff line change @@ -1007,12 +1007,13 @@ spec:
10071007 )
10081008
10091009 By ("access dataplane to check the HTTPRoutePolicy" )
1010- s .NewAPISIXClient ().
1011- GET ("/get" ).
1012- WithHost ("httpbin.example" ).
1013- WithHeader ("X-Route-Name" , "httpbin" ).
1014- Expect ().
1015- Status (http .StatusNotFound )
1010+ Eventually (func () int {
1011+ return s .NewAPISIXClient ().
1012+ GET ("/get" ).
1013+ WithHost ("httpbin.example" ).
1014+ WithHeader ("X-Route-Name" , "httpbin" ).
1015+ Expect ().Raw ().StatusCode
1016+ }).WithTimeout (8 * time .Second ).ProbeEvery (time .Second ).Should (Equal (http .StatusNotFound ))
10161017
10171018 s .NewAPISIXClient ().
10181019 GET ("/get" ).
You can’t perform that action at this time.
0 commit comments