test scripts: replaced sleeps with wait functions

This commit is contained in:
Olof hagsand 2019-07-01 10:32:48 +02:00
parent 1134b084c3
commit a2340c265c
26 changed files with 60 additions and 45 deletions

View file

@ -265,7 +265,7 @@ runtest(){
start_backend -s $mode -f $cfg -o "CLICON_XMLDB_MODSTATE=$modstate"
new "waiting"
sleep $RCWAIT
wait_backend
else
new "Restart backend as eg follows: -Ff $cfg -s $mode -o \"CLICON_XMLDB_MODSTATE=$modstate\" ($BETIMEOUT s)"
sleep $BETIMEOUT