4477. [test] Fix mkeys test timing issues. [RT #41028]

This commit is contained in:
Witold Krecicki
2016-08-31 15:04:02 +02:00
parent a0f9aaa103
commit 5aaf7e3a04
4 changed files with 6 additions and 4 deletions

View File

@@ -312,9 +312,9 @@ if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
n=`expr $n + 1`
echo "I: wait 15 seconds for key add/remove holddowns to expire ($n)"
echo "I: wait 30 seconds for key add/remove holddowns to expire ($n)"
ret=0
sleep 15
sleep 30
$RNDC -c ../common/rndc.conf -s 10.53.0.2 -p 9953 managed-keys refresh | sed 's/^/I: ns2 /'
sleep 1
$RNDC -c ../common/rndc.conf -s 10.53.0.2 -p 9953 managed-keys sync | sed 's/^/I: ns2 /'