mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 09:03:56 -04:00
Merge branch '1856-race-in-clear-signing-records-in-dnssec-system-test' into 'master'
Resolve "Race in 'clear signing records' in dnssec system test." Closes #1856 See merge request isc-projects/bind9!3557
This commit is contained in:
commit
a53bc0b28b
2 changed files with 12 additions and 6 deletions
5
CHANGES
5
CHANGES
|
|
@ -1,8 +1,11 @@
|
|||
5415. [test] Address race in dnssec system test that led to
|
||||
test failures. [GL #1852]
|
||||
|
||||
5414. [test] Adjust time allowed for journal truncation to occur
|
||||
in nsupdate system test to avoid test failure.
|
||||
[GL #1855]
|
||||
|
||||
5413. [test] Address race in autosign system test that lead to
|
||||
5413. [test] Address race in autosign system test that led to
|
||||
test failures. [GL #1852]
|
||||
|
||||
5412. [bug] 'provide-ixfr no;' fail to return up-to-date responses
|
||||
|
|
|
|||
|
|
@ -2650,12 +2650,15 @@ status=$((status+ret))
|
|||
|
||||
echo_i "clear signing records ($n)"
|
||||
{ rndccmd 10.53.0.3 signing -clear all update-nsec3.example > /dev/null; } 2>&1 || ret=1
|
||||
sleep 1
|
||||
{ rndccmd 10.53.0.3 signing -list update-nsec3.example > signing.out; } 2>&1
|
||||
grep -q "No signing records found" signing.out || {
|
||||
ret=1
|
||||
sed 's/^/ns3 /' signing.out | cat_i
|
||||
check_no_signing_record_found() {
|
||||
{ rndccmd 10.53.0.3 signing -list update-nsec3.example > signing.out; } 2>&1
|
||||
grep -q "No signing records found" signing.out || {
|
||||
sed 's/^/ns3 /' signing.out | cat_i
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
retry_quiet 5 check_no_signing_record_found || ret=1
|
||||
n=$((n+1))
|
||||
test "$ret" -eq 0 || echo_i "failed"
|
||||
status=$((status+ret))
|
||||
|
|
|
|||
Loading…
Reference in a new issue