Skip to content

Commit

Permalink
ci: avoid requesting IPv6 address as GitHub Action doesn't support it (
Browse files Browse the repository at this point in the history
  • Loading branch information
spacewander authored Feb 24, 2021
1 parent 00b2a38 commit 16f017d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions t/node/route-domain-with-local-dns.t
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ __DATA__
"upstream": {
"nodes": {
"127.0.0.1:1980": 1,
"github.com:80": 0
"www.apiseven.com:80": 0
},
"type": "roundrobin"
},
Expand Down Expand Up @@ -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+/
4 changes: 2 additions & 2 deletions t/node/route-domain.t
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ __DATA__
"upstream": {
"nodes": {
"127.0.0.1:1980": 1,
"github.com:80": 0
"www.apiseven.com:80": 0
},
"type": "roundrobin"
},
Expand Down Expand Up @@ -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+/
Expand Down
8 changes: 4 additions & 4 deletions t/plugin/key-auth-upstream-domain-node.t
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ passed
},
"upstream": {
"nodes": {
"www.apple.com:80": 1
"www.apiseven.com:80": 1
},
"pass_host": "node",
"type": "roundrobin"
Expand Down Expand Up @@ -148,7 +148,7 @@ location /t {
--- request
GET /t
--- response_body
return: 301
return: 302
return: 503
return: 503
--- no_error_log
Expand All @@ -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"
Expand Down Expand Up @@ -250,7 +250,7 @@ location /t {
--- request
GET /t
--- response_body
return: 301
return: 302
return: 503
return: 503
--- no_error_log
Expand Down

0 comments on commit 16f017d

Please sign in to comment.