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
|
|
@ -137,6 +137,9 @@ if [ $BE -ne 0 ]; then
|
|||
start_backend -s init -f $cfg -- -s
|
||||
fi
|
||||
|
||||
new "waiting"
|
||||
wait_backend
|
||||
|
||||
new "kill old restconf daemon"
|
||||
sudo pkill -u $wwwuser clixon_restconf
|
||||
|
||||
|
|
@ -145,7 +148,6 @@ start_restconf -f $cfg -- -a
|
|||
|
||||
new "waiting"
|
||||
wait_backend
|
||||
wait_restconf
|
||||
|
||||
new "auth set authentication config"
|
||||
expecteof "$clixon_netconf -qf $cfg" 0 "<rpc><edit-config><target><candidate/></target><config>$RULES</config></edit-config></rpc>]]>]]>" "^<rpc-reply><ok/></rpc-reply>]]>]]>$"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue