From 6b1791786aa5d2ac9ababc34ec9385d2e4bb0fc6 Mon Sep 17 00:00:00 2001 From: Thibault Charbonnier Date: Thu, 7 Sep 2023 15:53:52 -0700 Subject: [PATCH] tests(openresty) update suites for latest ngx_http_lua_module --- t/04-openresty/ffi/300-proxy_wasm_get_property_host.t | 2 +- t/04-openresty/ffi/301-proxy_wasm_get_property_ngx.t | 2 +- t/04-openresty/ffi/302-proxy_wasm_set_property_host.t | 2 +- t/04-openresty/ffi/303-proxy_wasm_set_property_ngx.t | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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]