1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-04 00:17:06 +00:00

wait for the management daemon to be ready before ending the test

This commit is contained in:
downtownallday 2022-09-05 20:35:36 -04:00
parent 4a4ad258c6
commit 78e6755e6b

View File

@ -30,6 +30,13 @@ test_ehdd_restart() {
ehdd/run-this-after-reboot.sh >>$TEST_OF 2>&1
[ $? -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
test_end