tests: suppressed a warning from the test scaffold due to an expected [crit] error log message in 2 test cases.
This commit is contained in:
Родитель
c9128e50f9
Коммит
25c4bdd6b6
|
@ -5,7 +5,7 @@ use Test::Nginx::Socket::Lua;
|
|||
|
||||
repeat_each(2);
|
||||
|
||||
plan tests => blocks() * repeat_each() * 2;
|
||||
plan tests => repeat_each() * (2 * blocks() + 1);
|
||||
|
||||
$ENV{TEST_NGINX_HTML_DIR} ||= html_dir();
|
||||
|
||||
|
@ -45,6 +45,8 @@ connect: nil no such file or directory
|
|||
send: nil closed
|
||||
receive: nil closed
|
||||
close: nil closed
|
||||
--- error_log eval
|
||||
qr{\[crit\] .*? connect\(\) to unix:/tmp/nosuchfile\.sock failed}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ use Test::Nginx::Socket::Lua;
|
|||
|
||||
repeat_each(2);
|
||||
|
||||
plan tests => blocks() * repeat_each() * 2;
|
||||
plan tests => repeat_each() * (blocks() * 2 + 1);
|
||||
|
||||
$ENV{TEST_NGINX_HTML_DIR} ||= html_dir();
|
||||
|
||||
|
@ -43,6 +43,9 @@ connect: nil no such file or directory
|
|||
send: nil closed
|
||||
receive: nil closed
|
||||
close: nil closed
|
||||
--- error_log eval
|
||||
qr{\[crit\] .*? connect\(\) to unix:/tmp/nosuchfile\.sock failed}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче