test scripts: separated wait of backend and restconf starts
This commit is contained in:
parent
948e203a61
commit
82356b7450
24 changed files with 71 additions and 25 deletions
|
|
@ -43,6 +43,9 @@ if [ $BE -ne 0 ]; then
|
|||
start_backend -s init -f $cfg
|
||||
fi
|
||||
|
||||
new "waiting"
|
||||
wait_backend
|
||||
|
||||
new "kill old restconf daemon"
|
||||
sudo pkill -u $wwwuser clixon_restconf
|
||||
|
||||
|
|
@ -50,10 +53,8 @@ new "start restconf daemon"
|
|||
start_restconf -f $cfg
|
||||
|
||||
new "waiting"
|
||||
wait_backend
|
||||
wait_restconf
|
||||
|
||||
|
||||
new "rpc tests"
|
||||
|
||||
# 1.First some positive tests vary media types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue