mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-03 20:47:35 +08:00
ci: avoid requesting IPv6 address as GitHub Action doesn't support it (#3656)
This commit is contained in:
parent
00b2a38820
commit
16f017dfed
@ -43,7 +43,7 @@ __DATA__
|
|||||||
"upstream": {
|
"upstream": {
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"127.0.0.1:1980": 1,
|
"127.0.0.1:1980": 1,
|
||||||
"github.com:80": 0
|
"www.apiseven.com:80": 0
|
||||||
},
|
},
|
||||||
"type": "roundrobin"
|
"type": "roundrobin"
|
||||||
},
|
},
|
||||||
@ -89,4 +89,4 @@ hello world
|
|||||||
--- no_error_log
|
--- no_error_log
|
||||||
[error]
|
[error]
|
||||||
--- error_log eval
|
--- error_log eval
|
||||||
qr/dns resolver domain: github.com to \d+.\d+.\d+.\d+/
|
qr/dns resolver domain: www.apiseven.com to \d+.\d+.\d+.\d+/
|
||||||
|
@ -37,7 +37,7 @@ __DATA__
|
|||||||
"upstream": {
|
"upstream": {
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"127.0.0.1:1980": 1,
|
"127.0.0.1:1980": 1,
|
||||||
"github.com:80": 0
|
"www.apiseven.com:80": 0
|
||||||
},
|
},
|
||||||
"type": "roundrobin"
|
"type": "roundrobin"
|
||||||
},
|
},
|
||||||
@ -79,7 +79,7 @@ hello world
|
|||||||
--- no_error_log
|
--- no_error_log
|
||||||
[error]
|
[error]
|
||||||
--- error_log eval
|
--- error_log eval
|
||||||
qr/dns resolver domain: github.com to \d+.\d+.\d+.\d+/
|
qr/dns resolver domain: www.apiseven.com to \d+.\d+.\d+.\d+/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ passed
|
|||||||
},
|
},
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"www.apple.com:80": 1
|
"www.apiseven.com:80": 1
|
||||||
},
|
},
|
||||||
"pass_host": "node",
|
"pass_host": "node",
|
||||||
"type": "roundrobin"
|
"type": "roundrobin"
|
||||||
@ -148,7 +148,7 @@ location /t {
|
|||||||
--- request
|
--- request
|
||||||
GET /t
|
GET /t
|
||||||
--- response_body
|
--- response_body
|
||||||
return: 301
|
return: 302
|
||||||
return: 503
|
return: 503
|
||||||
return: 503
|
return: 503
|
||||||
--- no_error_log
|
--- no_error_log
|
||||||
@ -166,7 +166,7 @@ return: 503
|
|||||||
ngx.HTTP_PUT,
|
ngx.HTTP_PUT,
|
||||||
[[{
|
[[{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"www.apple.com:80": 1
|
"www.apiseven.com:80": 1
|
||||||
},
|
},
|
||||||
"pass_host": "node",
|
"pass_host": "node",
|
||||||
"type": "roundrobin"
|
"type": "roundrobin"
|
||||||
@ -250,7 +250,7 @@ location /t {
|
|||||||
--- request
|
--- request
|
||||||
GET /t
|
GET /t
|
||||||
--- response_body
|
--- response_body
|
||||||
return: 301
|
return: 302
|
||||||
return: 503
|
return: 503
|
||||||
return: 503
|
return: 503
|
||||||
--- no_error_log
|
--- no_error_log
|
||||||
|
Loading…
Reference in New Issue
Block a user