@@ -18,7 +18,7 @@ use Test::Nginx::Socket;
1818
1919repeat_each(2 );
2020
21- plan tests => repeat_each() * (blocks() * 3 + 10 );
21+ plan tests => repeat_each() * (blocks() * 4 + 10 );
2222
2323our $ HtmlDir = html_dir;
2424
5555failed to connect : timeout
5656-- - error_log
5757lua socket connect timeout: 100
58+ lua socket connect timed out
5859
5960
6061
8283failed to connect : timeout
8384-- - error_log
8485lua socket connect timeout: 150
86+ lua socket connect timed out
8587
8688
8789
@@ -109,6 +111,7 @@ GET /t
109111failed to connect : timeout
110112-- - error_log
111113lua socket connect timeout: 102
114+ lua socket connect timed out
112115
113116
114117
@@ -136,6 +139,7 @@ GET /t
136139failed to connect : timeout
137140-- - error_log
138141lua socket connect timeout: 102
142+ lua socket connect timed out
139143
140144
141145
@@ -163,6 +167,7 @@ GET /t
163167failed to connect : timeout
164168-- - error_log
165169lua socket connect timeout: 102
170+ lua socket connect timed out
166171
167172
168173
@@ -196,9 +201,10 @@ GET /t
196201-- - response_body
197202connected: 1
198203failed to receive: timeout
199- -- - error_log eval
200- [" lua socket read timeout: 100" ,
201- " lua socket connect timeout: 60000" ]
204+ -- - error_log
205+ lua socket read timeout: 100
206+ lua socket connect timeout: 60000
207+ lua socket read timed out
202208
203209
204210
@@ -234,9 +240,10 @@ GET /t
234240-- - response_body
235241connected: 1
236242failed to receive: timeout
237- -- - error_log eval
238- [" lua socket connect timeout: 60000" ,
239- " lua socket read timeout: 150" ]
243+ -- - error_log
244+ lua socket connect timeout: 60000
245+ lua socket read timeout: 150
246+ lua socket read timed out
240247
241248
242249
@@ -272,9 +279,10 @@ GET /t
272279-- - response_body
273280connected: 1
274281failed to receive: timeout
275- -- - error_log eval
276- [" lua socket connect timeout: 60000" ,
277- " lua socket read timeout: 102" ]
282+ -- - error_log
283+ lua socket connect timeout: 60000
284+ lua socket read timeout: 102
285+ lua socket read timed out
278286
279287
280288
@@ -311,9 +319,10 @@ GET /t
311319-- - response_body
312320connected: 1
313321failed to receive: timeout
314- -- - error_log eval
315- [" lua socket connect timeout: 60000" ,
316- " lua socket read timeout: 102" ]
322+ -- - error_log
323+ lua socket connect timeout: 60000
324+ lua socket read timeout: 102
325+ lua socket read timed out
317326
318327
319328
@@ -349,9 +358,10 @@ GET /t
349358-- - response_body
350359connected: 1
351360failed to receive: timeout
352- -- - error_log eval
353- [" lua socket read timeout: 102" ,
354- " lua socket connect timeout: 60000" ]
361+ -- - error_log
362+ lua socket read timeout: 102
363+ lua socket connect timeout: 60000
364+ lua socket read timed out
355365
356366
357367
@@ -385,9 +395,10 @@ GET /t
385395-- - response_body
386396connected: 1
387397failed to send: timeout
388- -- - error_log eval
389- [" lua socket send timeout: 100" ,
390- " lua socket connect timeout: 60000" ]
398+ -- - error_log
399+ lua socket send timeout: 100
400+ lua socket connect timeout: 60000
401+ lua socket write timed out
391402
392403
393404
@@ -423,9 +434,10 @@ GET /t
423434-- - response_body
424435connected: 1
425436failed to send: timeout
426- -- - error_log eval
427- [" lua socket connect timeout: 60000" ,
428- " lua socket send timeout: 150" ]
437+ -- - error_log
438+ lua socket connect timeout: 60000
439+ lua socket send timeout: 150
440+ lua socket write timed out
429441
430442
431443
@@ -461,9 +473,10 @@ GET /t
461473-- - response_body
462474connected: 1
463475failed to send: timeout
464- -- - error_log eval
465- [" lua socket connect timeout: 60000" ,
466- " lua socket send timeout: 102" ]
476+ -- - error_log
477+ lua socket connect timeout: 60000
478+ lua socket send timeout: 102
479+ lua socket write timed out
467480
468481
469482
@@ -499,9 +512,10 @@ GET /t
499512-- - response_body
500513connected: 1
501514failed to send: timeout
502- -- - error_log eval
503- [" lua socket connect timeout: 60000" ,
504- " lua socket send timeout: 102" ]
515+ -- - error_log
516+ lua socket connect timeout: 60000
517+ lua socket send timeout: 102
518+ lua socket write timed out
505519
506520
507521
@@ -537,7 +551,8 @@ GET /t
537551-- - response_body
538552connected: 1
539553failed to send: timeout
540- -- - error_log eval
541- [" lua socket send timeout: 102" ,
542- " lua socket connect timeout: 60000" ]
554+ -- - error_log
555+ lua socket send timeout: 102
556+ lua socket connect timeout: 60000
557+ lua socket write timed out
543558
0 commit comments