This is an automated email from the ASF dual-hosted git repository. monkeydluffy 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 a4db91c65 fix(ci): "CLI Test" raise command not found info (#10572) a4db91c65 is described below commit a4db91c658d3b051f85e16a1b92dfb8691020844 Author: yuweizzz <yuwei764969...@gmail.com> AuthorDate: Mon Dec 4 10:51:41 2023 +0800 fix(ci): "CLI Test" raise command not found info (#10572) --- t/cli/test_admin.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/cli/test_admin.sh b/t/cli/test_admin.sh index aad049728..47892e14e 100755 --- a/t/cli/test_admin.sh +++ b/t/cli/test_admin.sh @@ -431,8 +431,8 @@ fi sleep 0.5 # check http plugins load list -if ! grep -E 'new plugins: {"public-api":true,"node-status":true}' logs/error.log; -o \ - ! grep -E 'new plugins: {"node-status":true,"public-api":true}' logs/error.log; then +if ! grep logs/error.log -E -e 'new plugins: {"public-api":true,"node-status":true}' \ + -e 'new plugins: {"node-status":true,"public-api":true}'; then echo "failed: first time load http plugins list failed" exit 1 fi @@ -460,8 +460,8 @@ if [ ! $code -eq 200 ]; then fi # check http plugins load list -if ! grep -E 'new plugins: {"public-api":true,"node-status":true}' logs/error.log; -o \ - ! grep -E 'new plugins: {"node-status":true,"public-api":true}' logs/error.log; then +if ! grep logs/error.log -E -e 'new plugins: {"public-api":true,"node-status":true}' \ + -e 'new plugins: {"node-status":true,"public-api":true}'; then echo "failed: second time load http plugins list failed" exit 1 fi