File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed
Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -62,23 +62,13 @@ jobs:
6262
6363 - name : Test APISIX
6464 run : |
65- # Check if httpbin service is ready
66- for i in {1..30}; do
67- if curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:8280/get | grep -q 200; then
68- echo "httpbin service is ready"
69- break
70- fi
71- echo "Waiting for httpbin service... ($i/30)"
72- sleep 2
73- done
74-
7565 curl http://127.0.0.1:9180/apisix/admin/routes/1 \
7666 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
7767 {
7868 "uri": "/get",
7969 "upstream": {
8070 "type": "roundrobin",
81- "nodes": { "httpbin:80 ": 1 }
71+ "nodes": { "httpbin:8080 ": 1 }
8272 }
8373 }'
8474
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ services:
4848 - apisix
4949
5050 httpbin :
51- image : kennethreitz/ httpbin
51+ image : ghcr.io/mccutchen/go- httpbin
5252 restart : always
5353 ports :
54- - " 8280:80 /tcp"
54+ - " 8280:8080 /tcp"
5555 networks :
5656 - apisix
5757
You can’t perform that action at this time.
0 commit comments