From 8d033a4bdd5d01bb7a92da70bc2cfeab7b60b446 Mon Sep 17 00:00:00 2001 From: downtownallday <downtownallday@gmail.com> Date: Tue, 2 Jun 2020 17:11:58 -0400 Subject: [PATCH] again --- tests/suites/_mgmt-functions.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/suites/_mgmt-functions.sh b/tests/suites/_mgmt-functions.sh index 62658a7e..e3f114ad 100644 --- a/tests/suites/_mgmt-functions.sh +++ b/tests/suites/_mgmt-functions.sh @@ -103,6 +103,13 @@ mgmt_create_user() { record "[create user $email]" mgmt_rest POST /admin/mail/users/add "email=$email" "password=$pass" rc=$? + if echo "$REST_OUTPUT" | grep "updated DNS:" >/dev/null; then + record "[Detected dns update]" + systemctl status nsd.service >>$TEST_OF + record "Sleeping 5 seconds for services to start" + sleep 5 + systemctl status nsd.service >>$TEST_OF + fi return $rc }