This is an automated email from the ASF dual-hosted git repository.
nic-6443 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new ed8e7d4837 test: match only the version in the conf version log line
(#14233)
ed8e7d4837 is described below
commit ed8e7d4837f524a1c1042abc09104f0d9b889cdc
Author: Nic <[email protected]>
AuthorDate: Fri Nov 20 09:15:11 2026 +0800
test: match only the version in the conf version log line (#14233)
---
t/plugin/elasticsearch-logger2.t | 2 +-
t/plugin/http-logger.t | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/plugin/elasticsearch-logger2.t b/t/plugin/elasticsearch-logger2.t
index c6a1bbc53d..a927f2b722 100644
--- a/t/plugin/elasticsearch-logger2.t
+++ b/t/plugin/elasticsearch-logger2.t
@@ -1102,7 +1102,7 @@ hello world
--- wait: 2
--- error_log eval
[qr/successfully processed the entries/,
-qr/init plugin-level conf version: \d+, from
\{.*"include_req_body_expr":\[\["http_x_debug","~=",null\]\]/]
+qr/init plugin-level conf version: \d+ while logging request, client: /]
--- no_error_log
failed to run log_by_lua
is not supported by JSON
diff --git a/t/plugin/http-logger.t b/t/plugin/http-logger.t
index 0bcd89ada9..5c573a9edb 100644
--- a/t/plugin/http-logger.t
+++ b/t/plugin/http-logger.t
@@ -948,7 +948,7 @@ hello world
--- wait: 1
--- error_log eval
[qr/request log:/,
-qr/init plugin-level conf version: \d+, from
\{.*"include_req_body_expr":\[\["http_x_debug","~=",null\]\]/]
+qr/init plugin-level conf version: \d+ while logging request, client: /]
--- no_error_log
failed to run log_by_lua
is not supported by JSON