mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 03:46:03 -04:00
Mark selected statschannel tests as xfail
The test_zone_timers_secondary_json() and
test_zone_timers_secondary_xml() tests are affected by issue #3983. Due
to the way tests are run, they are only affected when executing them
with the pytest runner.
Strict mode is set for pytest runner, as it always fails there. The
strict mode ensures we'll catch the change when the it starts passing
once the underlying issue is fixed. It can't be set for the legacy
runner, since the test (incorrectly) passes there.
Related #3983
(cherry picked from commit 087a9b3c97)
This commit is contained in:
parent
f0db1c27ba
commit
862f6e043a
2 changed files with 4 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
|||
# information regarding copyright ownership.
|
||||
|
||||
from datetime import datetime
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
|
|
@ -82,6 +83,7 @@ def test_zone_timers_primary_json(statsport):
|
|||
)
|
||||
|
||||
|
||||
@pytest.mark.xfail(reason="GL #3983", strict="LEGACY_TEST_RUNNER" not in os.environ)
|
||||
def test_zone_timers_secondary_json(statsport):
|
||||
generic.test_zone_timers_secondary(
|
||||
fetch_zones_json,
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
# information regarding copyright ownership.
|
||||
|
||||
from datetime import datetime
|
||||
import os
|
||||
import xml.etree.ElementTree as ET
|
||||
|
||||
import pytest
|
||||
|
|
@ -112,6 +113,7 @@ def test_zone_timers_primary_xml(statsport):
|
|||
)
|
||||
|
||||
|
||||
@pytest.mark.xfail(reason="GL #3983", strict="LEGACY_TEST_RUNNER" not in os.environ)
|
||||
def test_zone_timers_secondary_xml(statsport):
|
||||
generic.test_zone_timers_secondary(
|
||||
fetch_zones_xml,
|
||||
|
|
|
|||
Loading…
Reference in a new issue