mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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)
22 lines
628 B
Python
22 lines
628 B
Python
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
#
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
#
|
|
# 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()
|