You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ni...@apache.org on 2026/07/20 04:15:16 UTC
(apisix) branch master updated: test(error-log-logger): don't assert a fixed JSON key order for the broker list (#13703)
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 c14d8e4a6 test(error-log-logger): don't assert a fixed JSON key order for the broker list (#13703)
c14d8e4a6 is described below
commit c14d8e4a63f043d0577a20837996e2211e76d190
Author: Nic <qi...@api7.ai>
AuthorDate: Mon Jul 20 12:15:10 2026 +0800
test(error-log-logger): don't assert a fixed JSON key order for the broker list (#13703)
---
t/plugin/error-log-logger-kafka.t | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/plugin/error-log-logger-kafka.t b/t/plugin/error-log-logger-kafka.t
index 1ede14cd1..c7b12bcc2 100644
--- a/t/plugin/error-log-logger-kafka.t
+++ b/t/plugin/error-log-logger-kafka.t
@@ -366,7 +366,8 @@ done
}
--- error_log eval
[qr/this is a error message for tls test/,
-qr/sending a batch logs to kafka brokers: \[\{"host":"127.0.0.1","port":9093\}\]/,
+qr/sending a batch logs to kafka brokers: .*"host":"127\.0\.0\.1"/,
+qr/sending a batch logs to kafka brokers: .*"port":9093/,
qr/send data to kafka: .*this is a error message for tls test/]
--- no_error_log
failed to do SSL handshake