ci: avoid requesting IPv6 address as GitHub Action doesn't support it (#3656)

This commit is contained in:
罗泽轩 2021-02-24 16:09:25 +08:00 committed by GitHub
parent 00b2a38820
commit 16f017dfed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -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+/

View File

@ -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+/

View File

@ -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