From 8d95827cb802b42bb5bfc8314b32144d2b5536cf Mon Sep 17 00:00:00 2001 From: Ramil Valitov Date: Wed, 5 Aug 2020 20:45:04 +0300 Subject: [PATCH] [add] extra sleep for service actions --- tests/all.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/all.sh b/tests/all.sh index 907aa97..e802fb3 100644 --- a/tests/all.sh +++ b/tests/all.sh @@ -460,12 +460,14 @@ function actionService() { local SERVICE_NAME=$1 local SERVICE_ACTION=$2 local SERVICE_INFO + sleep 3 SERVICE_INFO=$(sudo service "$SERVICE_NAME" $SERVICE_ACTION) STATUS=$? if [[ "$STATUS" -ne 0 ]]; then printRed "Failed to $SERVICE_ACTION service '$SERVICE_NAME':" echo "$SERVICE_INFO" fi + sleep 3 } function restartService() {