Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions t/160-disable-init-by-lua.t
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ my $http_config = <<_EOC_;
function set_up_ngx_tmp_conf(conf)
if conf == nil then
conf = [[
# to prevent the test process from overwriting the
# original pid file
pid logs/test_nginx.pid;
events {
worker_connections 64;
}
Expand Down Expand Up @@ -150,6 +153,7 @@ qr/\[error\] .*? init_by_lua:\d+: run init_by_lua/
location = /t {
content_by_lua_block {
local conf = [[
pid logs/test_nginx.pid;
events {
worker_connections 64;
}
Expand Down