You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ma...@apache.org on 2021/02/18 03:50:45 UTC
[apisix-dashboard] branch master updated: fix: cli test failed
(#1475)
This is an automated email from the ASF dual-hosted git repository.
majunjie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 1804c75 fix: cli test failed (#1475)
1804c75 is described below
commit 1804c750aa1fcfdabc53ab8d237f2fcf63bcbda6
Author: nic-chen <33...@users.noreply.github.com>
AuthorDate: Thu Feb 18 11:50:35 2021 +0800
fix: cli test failed (#1475)
---
api/test/shell/cli_test.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/api/test/shell/cli_test.sh b/api/test/shell/cli_test.sh
index 2f09c44..469b57d 100755
--- a/api/test/shell/cli_test.sh
+++ b/api/test/shell/cli_test.sh
@@ -128,6 +128,7 @@ sleep 5
res=$(curl http://127.0.0.1:9000)
$workDir/manager-api stop
+sleep 6
cd -
rm -rf html
@@ -163,7 +164,7 @@ LOGLEVEL=$(cat conf/conf.yaml | awk '$1=="level:"{print $2}')
HOST=$(cat conf/conf.yaml | awk '$1=="host:"{print $2}')
PORT=$(cat conf/conf.yaml | awk '$1=="port:"{print $2}')
STDOUT=/tmp/manager-api
-./manager-api &>/tmp/manager-api &
+./manager-api &> ${STDOUT} &
sleep 3
./manager-api stop
sleep 6