mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-11 01:27:17 +00:00
wait for the management daemon to be ready before ending the test
This commit is contained in:
parent
4a4ad258c6
commit
78e6755e6b
@ -30,6 +30,13 @@ test_ehdd_restart() {
|
|||||||
ehdd/run-this-after-reboot.sh >>$TEST_OF 2>&1
|
ehdd/run-this-after-reboot.sh >>$TEST_OF 2>&1
|
||||||
[ $? -ne 0 ] && test_failure "Could not start encryption-at-rest"
|
[ $? -ne 0 ] && test_failure "Could not start encryption-at-rest"
|
||||||
|
|
||||||
|
# wait for management daemon
|
||||||
|
record "wait for management daemon"
|
||||||
|
while ! management/cli.py user >>$TEST_OF 2>&1; do
|
||||||
|
record "sleep 1"
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
|
||||||
test_end
|
test_end
|
||||||
|
Loading…
Reference in New Issue
Block a user