Skip to content

Commit d3297cb

Browse files
committed
fix test
1 parent 4ce2c5f commit d3297cb

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/apisix-conformance-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
ARCH: amd64
5555
ENABLE_PROXY: "false"
5656
BASE_IMAGE_TAG: "debug"
57+
ADC_VERSION: "dev"
5758
run: |
5859
echo "building images..."
5960
make build-image

test/e2e/gatewayapi/httproute.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ spec:
552552
GET("/get").
553553
WithHost("httpbin.external").
554554
Expect().
555-
Status(200)
555+
Status(http.StatusMovedPermanently)
556556
})
557557

558558
It("Match Port", func() {

test/e2e/ingress/ingress.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ spec:
248248
GET("/get").
249249
WithHost("httpbin.external").
250250
Expect().
251-
Status(200)
251+
Status(http.StatusMovedPermanently)
252252
})
253253

254254
It("Delete Ingress during restart", func() {
@@ -278,7 +278,7 @@ spec:
278278
GET("/get").
279279
WithHost("httpbin.external").
280280
Expect().
281-
Status(200)
281+
Status(http.StatusMovedPermanently)
282282

283283
s.NewAPISIXClient().
284284
GET("/get").
@@ -299,7 +299,7 @@ spec:
299299
GET("/get").
300300
WithHost("httpbin.external").
301301
Expect().
302-
Status(200)
302+
Status(http.StatusMovedPermanently)
303303

304304
s.NewAPISIXClient().
305305
GET("/get").

0 commit comments

Comments
 (0)