From 8e189840b1c9f4f506d76ebf0d6dffe580de12de Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 19 Aug 2021 16:43:56 +1000 Subject: [PATCH] wait for each staged to complete --- bin/tests/system/rndc/tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/tests/system/rndc/tests.sh b/bin/tests/system/rndc/tests.sh index d25aec63a3..5d260e24ac 100644 --- a/bin/tests/system/rndc/tests.sh +++ b/bin/tests/system/rndc/tests.sh @@ -776,12 +776,18 @@ echo_i "edit zone files" cp ns7/test.db.in ns7/test.db cp ns7/include2.db.in ns7/include.db +nextpart ns7/named.run > /dev/null + echo_i "rndc thaw" $RNDCCMD 10.53.0.7 thaw | sed 's/^/ns7 /' | cat_i +wait_for_log 3 "zone_postload: zone test/IN/internal: done" ns7/named.run + echo_i "rndc reload" $RNDCCMD 10.53.0.7 reload | sed 's/^/ns7 /' | cat_i +wait_for_log 3 "all zones loaded" ns7/named.run + n=$((n+1)) echo_i "checking zone file edits are loaded ($n)" ret=0