@@ -18,7 +18,7 @@ use Test::Nginx::Socket;
18
18
19
19
repeat_each(2 );
20
20
21
- plan tests => repeat_each() * (blocks() * 3 + 10 );
21
+ plan tests => repeat_each() * (blocks() * 4 + 10 );
22
22
23
23
our $ HtmlDir = html_dir;
24
24
55
55
failed to connect : timeout
56
56
-- - error_log
57
57
lua socket connect timeout: 100
58
+ lua socket connect timed out
58
59
59
60
60
61
82
83
failed to connect : timeout
83
84
-- - error_log
84
85
lua socket connect timeout: 150
86
+ lua socket connect timed out
85
87
86
88
87
89
@@ -109,6 +111,7 @@ GET /t
109
111
failed to connect : timeout
110
112
-- - error_log
111
113
lua socket connect timeout: 102
114
+ lua socket connect timed out
112
115
113
116
114
117
@@ -136,6 +139,7 @@ GET /t
136
139
failed to connect : timeout
137
140
-- - error_log
138
141
lua socket connect timeout: 102
142
+ lua socket connect timed out
139
143
140
144
141
145
@@ -163,6 +167,7 @@ GET /t
163
167
failed to connect : timeout
164
168
-- - error_log
165
169
lua socket connect timeout: 102
170
+ lua socket connect timed out
166
171
167
172
168
173
@@ -196,9 +201,10 @@ GET /t
196
201
-- - response_body
197
202
connected: 1
198
203
failed 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
202
208
203
209
204
210
@@ -234,9 +240,10 @@ GET /t
234
240
-- - response_body
235
241
connected: 1
236
242
failed 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
240
247
241
248
242
249
@@ -272,9 +279,10 @@ GET /t
272
279
-- - response_body
273
280
connected: 1
274
281
failed 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
278
286
279
287
280
288
@@ -311,9 +319,10 @@ GET /t
311
319
-- - response_body
312
320
connected: 1
313
321
failed 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
317
326
318
327
319
328
@@ -349,9 +358,10 @@ GET /t
349
358
-- - response_body
350
359
connected: 1
351
360
failed 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
355
365
356
366
357
367
@@ -385,9 +395,10 @@ GET /t
385
395
-- - response_body
386
396
connected: 1
387
397
failed 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
391
402
392
403
393
404
@@ -423,9 +434,10 @@ GET /t
423
434
-- - response_body
424
435
connected: 1
425
436
failed 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
429
441
430
442
431
443
@@ -461,9 +473,10 @@ GET /t
461
473
-- - response_body
462
474
connected: 1
463
475
failed 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
467
480
468
481
469
482
@@ -499,9 +512,10 @@ GET /t
499
512
-- - response_body
500
513
connected: 1
501
514
failed 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
505
519
506
520
507
521
@@ -537,7 +551,8 @@ GET /t
537
551
-- - response_body
538
552
connected: 1
539
553
failed 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
543
558
0 commit comments