Skip to content

Commit 9a3bbb6

Browse files
committed
tests: updated the server IP for agentzh.org to reflect recent changes.
1 parent 071bb0f commit 9a3bbb6

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

t/058-tcp-socket.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ send: nil closed
321321
receive: nil closed
322322
close: nil closed
323323
--- error_log
324-
lua tcp socket connect timed out, when connecting to 106.184.1.99:12345
324+
lua tcp socket connect timed out, when connecting to 172.105.207.225:12345
325325
--- timeout: 10
326326
327327

t/065-tcp-socket-timeout.t

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ GET /t
6666
failed to connect: timeout
6767
--- error_log
6868
lua tcp socket connect timeout: 100
69-
lua tcp socket connect timed out, when connecting to 106.184.1.99:12345
69+
lua tcp socket connect timed out, when connecting to 172.105.207.225:12345
7070
--- timeout: 10
7171

7272

@@ -96,7 +96,7 @@ GET /t
9696
failed to connect: timeout
9797
--- error_log
9898
lua tcp socket connect timeout: 150
99-
lua tcp socket connect timed out, when connecting to 106.184.1.99:12345
99+
lua tcp socket connect timed out, when connecting to 172.105.207.225:12345
100100
--- timeout: 10
101101

102102

@@ -125,7 +125,7 @@ GET /t
125125
failed to connect: timeout
126126
--- error_log
127127
lua tcp socket connect timeout: 102
128-
lua tcp socket connect timed out, when connecting to 106.184.1.99:12345
128+
lua tcp socket connect timed out, when connecting to 172.105.207.225:12345
129129

130130

131131

@@ -154,7 +154,7 @@ GET /t
154154
failed to connect: timeout
155155
--- error_log
156156
lua tcp socket connect timeout: 102
157-
lua tcp socket connect timed out, when connecting to 106.184.1.99:12345
157+
lua tcp socket connect timed out, when connecting to 172.105.207.225:12345
158158
--- timeout: 10
159159

160160

@@ -707,7 +707,7 @@ GET /t
707707
2: connected: 1
708708
--- error_log
709709
lua tcp socket connect timeout: 100
710-
lua tcp socket connect timed out, when connecting to 106.184.1.99:12345
710+
lua tcp socket connect timed out, when connecting to 172.105.207.225:12345
711711
--- timeout: 10
712712

713713

t/090-log-socket-errors.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ GET /t
5959
--- response_body
6060
timeout
6161
--- error_log
62-
lua tcp socket connect timed out, when connecting to 106.184.1.99:12345
62+
lua tcp socket connect timed out, when connecting to 172.105.207.225:12345
6363
6464
6565

t/094-uthread-exit.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ after
501501
ngx.say("after")
502502
local sock = ngx.socket.tcp()
503503
sock:settimeout(12000)
504-
local ok, err = sock:connect("106.184.1.99", 12345)
504+
local ok, err = sock:connect("172.105.207.225", 12345)
505505
if not ok then
506506
ngx.say("failed to connect: ", err)
507507
return

t/128-duplex-tcp-socket.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ F(ngx_http_lua_socket_tcp_finalize_write_part) {
396396
end
397397
398398
sock:settimeout(300)
399-
local ok, err = sock:connect("106.184.1.99", 12345)
399+
local ok, err = sock:connect("172.105.207.225", 12345)
400400
ngx.say("connect: ", ok, " ", err)
401401
402402
local ok, err = sock:close()

t/147-tcp-socket-timeouts.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ send: nil closed
346346
receive: nil closed
347347
close: nil closed
348348
--- error_log
349-
lua tcp socket connect timed out, when connecting to 106.184.1.99:12345
349+
lua tcp socket connect timed out, when connecting to 172.105.207.225:12345
350350
--- timeout: 10
351351

352352

0 commit comments

Comments
 (0)