Skip to content

Commit

Permalink
test: use longer timeout for internet DNS query (#3872)
Browse files Browse the repository at this point in the history
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
  • Loading branch information
spacewander authored Mar 22, 2021
1 parent 957bef0 commit 7ae3020
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions t/core/utils.t
Original file line number Diff line number Diff line change
Expand Up @@ -317,3 +317,4 @@ apisix:
GET /t
--- error_log
error: failed to query the DNS server
--- timeout: 10
1 change: 1 addition & 0 deletions t/node/invalid-route.t
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,4 @@ GET /server_port
--- error_code: 503
--- error_log
failed to parse domain: xxxx.invalid
--- timeout: 10
3 changes: 3 additions & 0 deletions t/node/route-domain.t
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ hello world
[error]
--- error_log eval
qr/dns resolver domain: www.apiseven.com to \d+.\d+.\d+.\d+/
--- timeout: 10
Expand Down Expand Up @@ -125,6 +126,7 @@ GET /uri
qr/host: httpbin.org/
--- no_error_log
[error]
--- timeout: 10
Expand Down Expand Up @@ -170,3 +172,4 @@ GET /get
qr/"Host": "httpbin.org"/
--- no_error_log
[error]
--- timeout: 10

0 comments on commit 7ae3020

Please sign in to comment.