From 8a362b5464b3950f5bf222f9db358d9f3956d9f2 Mon Sep 17 00:00:00 2001 From: "xiaochun.liu" Date: Mon, 24 Feb 2020 20:44:44 +0800 Subject: [PATCH] docker github action --- dockerfile/hooks/check | 1 + 1 file changed, 1 insertion(+) diff --git a/dockerfile/hooks/check b/dockerfile/hooks/check index 1a6052cc7..fbc3f8bd4 100644 --- a/dockerfile/hooks/check +++ b/dockerfile/hooks/check @@ -16,6 +16,7 @@ # limitations under the License. # echo "------ dolphinscheduler check - server - status -------" +sleep 20 server_num=$(docker top `docker container list | grep startup | awk '{print $1}'`| grep java | grep "dolphinscheduler" | awk -F 'classpath ' '{print $2}' | awk '{print $2}' | sort | uniq -c | wc -l) if [ $server_num -eq 5 ] then -- GitLab