Skip to content

Commit 731e783

Browse files
committed
Merge remote-tracking branch 'origin/release-v2-dev' into chore/condition-assertion
# Conflicts: # test/e2e/framework/assertion.go
2 parents e0f6766 + 75ae919 commit 731e783

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ KIND_NAME ?= apisix-ingress-cluster
1313
GATEAY_API_VERSION ?= v1.2.0
1414

1515
DASHBOARD_VERSION ?= dev
16-
TEST_TIMEOUT ?= 45m
16+
TEST_TIMEOUT ?= 60m
1717

1818
# CRD Reference Documentation
1919
CRD_REF_DOCS_VERSION ?= v0.1.0

test/e2e/gatewayapi/httproute.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff 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").

0 commit comments

Comments
 (0)