Skip to content

Commit ce0a372

Browse files
committed
Remove unnecessary configurations in tests
1 parent cd9f750 commit ce0a372

File tree

2 files changed

+0
-44
lines changed

2 files changed

+0
-44
lines changed

t/flush.t

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ __DATA__
3939
host = "127.0.0.1",
4040
port = 29999,
4141
flush_limit = 100,
42-
pool_size = 5,
43-
retry_interval = 1,
44-
timeout = 100,
4542
}
4643
end
4744

t/sanity.t

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ __DATA__
4040
host = "127.0.0.1",
4141
port = 29999,
4242
flush_limit = 1,
43-
pool_size = 5,
44-
retry_interval = 1,
45-
timeout = 100,
4643
}
4744
end
4845
@@ -79,8 +76,6 @@ foo
7976
local ok, err = logger.init{
8077
flush_limit = 1,
8178
path = "$TEST_NGINX_HTML_DIR/logger_test.sock",
82-
retry_interval = 1,
83-
timeout = 100,
8479
}
8580
if not ok then
8681
ngx.log(ngx.ERR, err)
@@ -122,8 +117,6 @@ foo
122117
host = "127.0.0.1",
123118
port = 29999,
124119
flush_limit = 1,
125-
retry_interval = 1,
126-
timeout = 100,
127120
}
128121
end
129122
@@ -161,8 +154,6 @@ foo
161154
host = "127.0.0.1",
162155
port = 29999,
163156
flush_limit = 500,
164-
retry_interval = 1,
165-
timeout = 100,
166157
}
167158
end
168159
@@ -236,8 +227,6 @@ foo
236227
host = "127.0.0.1",
237228
port = 29999,
238229
flush_limit = 6,
239-
retry_interval = 1,
240-
timeout = 100,
241230
}
242231
end
243232
@@ -290,8 +279,6 @@ foo
290279
host = "127.0.0.1",
291280
port = 29999,
292281
flush_limit = 1,
293-
retry_interval = 1,
294-
timeout = 1000,
295282
}
296283
end
297284
@@ -339,9 +326,6 @@ foo
339326
host = "127.0.0.1",
340327
port = 29999,
341328
flush_limit = 1,
342-
log_subrequest = false,
343-
retry_interval = 1,
344-
timeout = 100,
345329
}
346330
end
347331
@@ -444,8 +428,6 @@ foo
444428
flush_limit = 2,
445429
drop_limit = 1,
446430
path = "$TEST_NGINX_HTML_DIR/logger_test.sock",
447-
retry_interval = 1,
448-
timeout = 100,
449431
}
450432
if not ok then
451433
ngx.log(ngx.ERR, err)
@@ -480,8 +462,6 @@ foo
480462
path = "$TEST_NGINX_HTML_DIR/logger_test.sock",
481463
drop_limit = 6,
482464
flush_limit = 4,
483-
retry_interval = 1,
484-
timeout = 1,
485465
}
486466
end
487467
@@ -529,9 +509,6 @@ foo
529509
host = "127.0.0.1",
530510
port = 29999,
531511
flush_limit = 1,
532-
pool_size = 5,
533-
retry_interval = 1,
534-
timeout = 100,
535512
}
536513
end
537514
@@ -570,9 +547,6 @@ wrote bytes: 10
570547
port = 29999,
571548
flush_limit = 10,
572549
drop_limit = 11,
573-
pool_size = 5,
574-
retry_interval = 1,
575-
timeout = 100,
576550
}
577551
end
578552
@@ -616,9 +590,6 @@ wrote bytes: 10
616590
port = 29999,
617591
flush_limit = 1,
618592
drop_limit = 10000,
619-
pool_size = 5,
620-
retry_interval = 1,
621-
timeout = 50,
622593
max_buffer_reuse = 1,
623594
}
624595
end
@@ -664,9 +635,6 @@ wrote bytes: 15
664635
port = 29999,
665636
flush_limit = 1000,
666637
drop_limit = 10000,
667-
retry_interval = 1,
668-
timeout = 50,
669-
max_buffer_reuse = 100,
670638
periodic_flush = 0.03, -- 0.03s
671639
}
672640
end
@@ -733,9 +701,6 @@ wrote bytes: 3
733701
local ok, err = logger.init{
734702
path = "$TEST_NGINX_HTML_DIR/ssl.sock",
735703
flush_limit = 1,
736-
drop_limit = 10000,
737-
retry_interval = 1,
738-
timeout = 50,
739704
ssl = true,
740705
ssl_verify = false,
741706
sni_host = "test.com",
@@ -791,9 +756,6 @@ SNI Host: test.com
791756
local ok, err = logger.init{
792757
path = "$TEST_NGINX_HTML_DIR/ssl.sock",
793758
flush_limit = 1,
794-
drop_limit = 10000,
795-
retry_interval = 1,
796-
timeout = 50,
797759
ssl = true,
798760
ssl_verify = true,
799761
sni_host = "test.com",
@@ -852,9 +814,6 @@ lua ssl certificate verify error
852814
local ok, err = logger.init{
853815
path = "$TEST_NGINX_HTML_DIR/ssl.sock",
854816
flush_limit = 1,
855-
drop_limit = 10000,
856-
retry_interval = 1,
857-
timeout = 50,
858817
ssl = true,
859818
ssl_verify = false,
860819
}

0 commit comments

Comments
 (0)