This is an automated email from the ASF dual-hosted git repository.
tzssangglass 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 efd5d1ec2 test: fix broken test introduced in #7926 (#7959)
efd5d1ec2 is described below
commit efd5d1ec21cd1a756eaba345fe2357e54a2b721a
Author: 罗泽轩 <[email protected]>
AuthorDate: Wed Sep 21 17:08:57 2022 +0800
test: fix broken test introduced in #7926 (#7959)
---
t/cli/test_admin.sh | 2 +-
t/config-center-yaml/plugin.t | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/t/cli/test_admin.sh b/t/cli/test_admin.sh
index f71f7fca2..5336244e3 100755
--- a/t/cli/test_admin.sh
+++ b/t/cli/test_admin.sh
@@ -347,7 +347,7 @@ if ! grep -E 'new plugins:
{"public-api":true,"node-status":true}' logs/error.lo
fi
# check stream plugins(no plugins under stream, it will be added below)
-if ! grep -E 'failed to read stream plugin list from local file'
logs/error.log; then
+if grep -E 'failed to read stream plugin list from local file' logs/error.log;
then
echo "failed: first time load stream plugins list failed"
exit 1
fi
diff --git a/t/config-center-yaml/plugin.t b/t/config-center-yaml/plugin.t
index dabda82a2..cc9a6ea4e 100644
--- a/t/config-center-yaml/plugin.t
+++ b/t/config-center-yaml/plugin.t
@@ -223,7 +223,6 @@ GET /t
--- response_body
hello world
--- error_log
-use config_center: yaml
---- grep_error_log_out
+use config_provider: yaml
load(): new plugins: {}
load_stream(): new plugins: {}