Skip to content

Commit 57ce5a6

Browse files
tests: t/142-req-udp-socket.t: changed domain name of dig command. (#241)
1 parent b57337c commit 57ce5a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/142-req-udp-socket.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ nmap will be blocked by travis , use dig to send dns request.
268268
--- config
269269
location = /dns {
270270
content_by_lua_block {
271-
local cmd = "dig -b 10.254.254.1 @10.254.254.2 www.baidu.com -p " .. tostring(ngx.var.server_port + 1)
271+
local cmd = "dig -b 10.254.254.1 @10.254.254.2 openresty.org -p " .. tostring(ngx.var.server_port + 1)
272272
local f = io.popen(cmd, "r")
273273
ngx.sleep(0.2)
274274
local result = f:read("*a")

0 commit comments

Comments
 (0)