diff --git a/t/04-openresty/ffi/300-proxy_wasm_get_property_host.t b/t/04-openresty/ffi/300-proxy_wasm_get_property_host.t index 61f0414ca..d01592181 100644 --- a/t/04-openresty/ffi/300-proxy_wasm_get_property_host.t +++ b/t/04-openresty/ffi/300-proxy_wasm_get_property_host.t @@ -41,7 +41,7 @@ ok --- error_log eval [ qr/\[error\] .*? cannot get host properties outside of a request/, - qr/\[error\] .*? init_worker_by_lua:\d+: unknown error/, + qr/\[error\] .*? init_worker_by_lua(\(nginx\.conf:\d+\))?:\d+: unknown error/, ] diff --git a/t/04-openresty/ffi/301-proxy_wasm_get_property_ngx.t b/t/04-openresty/ffi/301-proxy_wasm_get_property_ngx.t index 40360b152..7e55b7963 100644 --- a/t/04-openresty/ffi/301-proxy_wasm_get_property_ngx.t +++ b/t/04-openresty/ffi/301-proxy_wasm_get_property_ngx.t @@ -41,7 +41,7 @@ ok --- error_log eval [ qr/\[error\] .*? cannot get ngx properties outside of a request/, - qr/\[error\] .*? init_worker_by_lua:\d+: unknown error/, + qr/\[error\] .*? init_worker_by_lua(\(nginx\.conf:\d+\))?:\d+: unknown error/, ] --- no_error_log [crit] diff --git a/t/04-openresty/ffi/302-proxy_wasm_set_property_host.t b/t/04-openresty/ffi/302-proxy_wasm_set_property_host.t index 9e1e8860f..fe2ff8fb2 100644 --- a/t/04-openresty/ffi/302-proxy_wasm_set_property_host.t +++ b/t/04-openresty/ffi/302-proxy_wasm_set_property_host.t @@ -41,7 +41,7 @@ ok --- error_log eval [ qr/\[error\] .*? cannot set host properties outside of a request/, - qr/\[error\] .*? init_worker_by_lua:\d+: unknown error/, + qr/\[error\] .*? init_worker_by_lua(\(nginx\.conf:\d+\))?:\d+: unknown error/, ] --- no_error_log [crit] diff --git a/t/04-openresty/ffi/303-proxy_wasm_set_property_ngx.t b/t/04-openresty/ffi/303-proxy_wasm_set_property_ngx.t index 26e1d91ca..e94ba95e4 100644 --- a/t/04-openresty/ffi/303-proxy_wasm_set_property_ngx.t +++ b/t/04-openresty/ffi/303-proxy_wasm_set_property_ngx.t @@ -43,7 +43,7 @@ ok --- error_log eval [ qr/\[error\] .*? cannot set ngx properties outside of a request/, - qr/\[error\] .*? init_worker_by_lua:\d+: unknown error/, + qr/\[error\] .*? init_worker_by_lua(\(nginx\.conf:\d+\))?:\d+: unknown error/, ] --- no_error_log [crit]