diff --git a/bin/tests/system/ksr/tests_ksr.py b/bin/tests/system/ksr/tests_ksr.py index d2b3e86c17..78724d137b 100644 --- a/bin/tests/system/ksr/tests_ksr.py +++ b/bin/tests/system/ksr/tests_ksr.py @@ -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):