mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-02 20:17: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": {
|
||||
"nodes": {
|
||||
"127.0.0.1:1980": 1,
|
||||
"github.com:80": 0
|
||||
"www.apiseven.com:80": 0
|
||||
},
|
||||
"type": "roundrobin"
|
||||
},
|
||||
@ -89,4 +89,4 @@ hello world
|
||||
--- no_error_log
|
||||
[error]
|
||||
--- 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": {
|
||||
"nodes": {
|
||||
"127.0.0.1:1980": 1,
|
||||
"github.com:80": 0
|
||||
"www.apiseven.com:80": 0
|
||||
},
|
||||
"type": "roundrobin"
|
||||
},
|
||||
@ -79,7 +79,7 @@ hello world
|
||||
--- no_error_log
|
||||
[error]
|
||||
--- 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": {
|
||||
"nodes": {
|
||||
"www.apple.com:80": 1
|
||||
"www.apiseven.com:80": 1
|
||||
},
|
||||
"pass_host": "node",
|
||||
"type": "roundrobin"
|
||||
@ -148,7 +148,7 @@ location /t {
|
||||
--- request
|
||||
GET /t
|
||||
--- response_body
|
||||
return: 301
|
||||
return: 302
|
||||
return: 503
|
||||
return: 503
|
||||
--- no_error_log
|
||||
@ -166,7 +166,7 @@ return: 503
|
||||
ngx.HTTP_PUT,
|
||||
[[{
|
||||
"nodes": {
|
||||
"www.apple.com:80": 1
|
||||
"www.apiseven.com:80": 1
|
||||
},
|
||||
"pass_host": "node",
|
||||
"type": "roundrobin"
|
||||
@ -250,7 +250,7 @@ location /t {
|
||||
--- request
|
||||
GET /t
|
||||
--- response_body
|
||||
return: 301
|
||||
return: 302
|
||||
return: 503
|
||||
return: 503
|
||||
--- no_error_log
|
||||
|
Loading…
Reference in New Issue
Block a user