test scripts: separated wait of backend and restconf starts

This commit is contained in:
Olof Hagsand 2019-10-27 15:54:16 +00:00
parent 948e203a61
commit 82356b7450
24 changed files with 71 additions and 25 deletions

View file

@ -61,6 +61,9 @@ testrun(){
start_backend -s init -f $cfg -y $fyang $option
fi
new "waiting"
wait_backend
new "kill old restconf daemon"
sudo pkill -u $wwwuser clixon_restconf
@ -68,7 +71,6 @@ testrun(){
start_restconf -f $cfg -y $fyang $option
new "waiting"
wait_backend
wait_restconf
new "restconf put 42"