mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Add sleeps so that the modification time changes
The mkeys system test could fail because root zone was resigned
within the same second as it was previously signed causing reloads
to fail. Add delays to the test to prevent this.
(cherry picked from commit 40e3529379)
This commit is contained in:
parent
0e8cccec64
commit
5097911f51
1 changed files with 1 additions and 0 deletions
|
|
@ -473,6 +473,7 @@ ret=0
|
|||
$SETTIME -D none -R none -K ns1 "$original" > /dev/null
|
||||
$SETTIME -D now -K ns1 "$standby1" > /dev/null
|
||||
$SETTIME -D now -K ns1 "$standby2" > /dev/null
|
||||
sleep 1 # ensure modification time changes
|
||||
$SIGNER -Sg -K ns1 -N unixtime -o . ns1/root.db > /dev/null 2>/dev/null
|
||||
copy_setports ns1/named2.conf.in ns1/named.conf
|
||||
rm -f ns1/root.db.signed.jnl
|
||||
|
|
|
|||
Loading…
Reference in a new issue