2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

[9.20] fix: test: Take into account key collisions in ksr system test

Closes #5229

Backport of MR !10238

Merge branch 'backport-5229-ksr-system-test-can-fail-on-key-collision-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10240
This commit is contained in:
Matthijs Mekking
2025-03-13 08:54:45 +00:00

View File

@@ -597,6 +597,10 @@ def test_ksr_common(servers):
selected += 1
if "Generating" in output:
generated += 1
# Subtract if there was a key collision.
if "collide" in output:
generated -= 1
assert selected == 2
assert generated == 2
for index, key in enumerate(overlapping_zsks):