X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=common%2Fscripts%2Fservice-check-gfx.sh;h=dfde77bef3c0a93111ed281d4ed282c5e528b783;hb=c6fb12f5116062d3ebdf2502800d1acd3cdb55f6;hp=2a5353b927495acf970fc54b279cb407daa3f06f;hpb=a2a853be927de72bf582efb8da256159f5aeaf68;p=src%2Fqa-testdefinitions.git diff --git a/common/scripts/service-check-gfx.sh b/common/scripts/service-check-gfx.sh index 2a5353b..dfde77b 100755 --- a/common/scripts/service-check-gfx.sh +++ b/common/scripts/service-check-gfx.sh @@ -6,6 +6,9 @@ REQUIREDSERVICES="afm-system-daemon.service afm-user-daemon.service connman.serv ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}" RESULT="unknown" +# add delay for services to fully start +sleep 5 + for i in ${ALL} ; do echo -e "\n########## Test for service ${i} being active ##########\n" systemctl is-active ${i} >/dev/null 2>&1