Skip to content

Commit 6d4475a

Browse files
spacewanderagentzh
authored andcommitted
tests: increased timeouts to avoid failing in mockagain writing test mode.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
1 parent 809192c commit 6d4475a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/062-count.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ n = 6
509509
ngx.log(ngx.ERR, "server: failed to get raw req socket: ", err)
510510
return
511511
end
512-
sock:settimeouts(1, 2, 3)
512+
sock:settimeouts(1000, 2000, 3000)
513513
for k, v in ipairs(sock) do
514514
narr = narr + 1
515515
end
@@ -547,7 +547,7 @@ nrec = 3
547547
ngx.log(ngx.ERR, "server: failed to get req socket: ", err)
548548
return
549549
end
550-
sock:settimeouts(1, 2, 3)
550+
sock:settimeouts(1000, 2000, 3000)
551551
for k, v in ipairs(sock) do
552552
narr = narr + 1
553553
end

0 commit comments

Comments
 (0)