]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use proper wait in rndc test
authorNicki Křížek <nicki@isc.org>
Wed, 2 Jul 2025 16:00:16 +0000 (18:00 +0200)
committerNicki Křížek <nicki@isc.org>
Mon, 7 Jul 2025 11:29:15 +0000 (13:29 +0200)
Previously, the one-second sleep was unreliable, as it didn't properly
indicate that the rndc reconfig has been processed. The "test 'rndc
reconfig' with a broken config" check would sometimes fail under TSAN
in CI, because the previous rndc reconfig was still ongoing, and the
subsequent rndc reconfig was ignored.

bin/tests/system/enginepkcs11/tests_sh_enginepkcs11.py

index 4bad00add4f05c9bafe06e3f125aa281965cbd50..7a5ed394e6e024baeaf7bcd76003c208d65dc0b3 100644 (file)
@@ -51,6 +51,6 @@ pytestmark = pytest.mark.extra_artifacts(
 )
 
 
-@isctest.mark.flaky(max_runs=3)  # GL#4605
+@isctest.mark.flaky(max_runs=5)  # GL#4605
 def test_enginepkcs11(run_tests_sh):
     run_tests_sh()