mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-16 07:32:57 -04:00
Allow nsupdate test rerun on FreeBSD
The "exceeded time limit waiting for literal 'too many DNS UPDATEs
queued' in ns1/named.run" is prone to fail due to a timing issue.
Despite out efforts to stabilize it, the check still often fails on
FreeBSD in our CI. Allow the test to be re-run on this platform.
(cherry picked from commit 124882476b)
This commit is contained in:
parent
6bf098e792
commit
7dff007ccd
1 changed files with 8 additions and 0 deletions
|
|
@ -9,6 +9,14 @@
|
|||
# See the COPYRIGHT file distributed with this work for additional
|
||||
# information regarding copyright ownership.
|
||||
|
||||
import platform
|
||||
|
||||
import pytest_custom_markers
|
||||
|
||||
|
||||
MAX_RUNS = 2 if platform.system() == "FreeBSD" else 1 # GL#3846
|
||||
|
||||
|
||||
@pytest_custom_markers.flaky(max_runs=MAX_RUNS)
|
||||
def test_nsupdate(run_tests_sh):
|
||||
run_tests_sh()
|
||||
|
|
|
|||
Loading…
Reference in a new issue