ipatests: update the xfail annotation for test_number_of_zones

The test is failing on fedora 36+, update and simplify the
xfail condition.

Related: https://pagure.io/freeipa/issue/9135

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Mohammad Rizwan Yusuf <myusuf@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2022-11-29 10:49:17 +01:00
parent be21cabad4
commit 25c00d0d40

View File

@ -586,9 +586,8 @@ class TestInstallWithCA_DNS3(CALessBase):
"""
@pytest.mark.xfail(
osinfo.id == 'fedora' and osinfo.version_number >= (33,)
and osinfo.version_number < (35,),
reason='freeipa ticket 8700', strict=True)
osinfo.id == 'fedora' and osinfo.version_number >= (36,),
reason='freeipa ticket 9135', strict=True)
@server_install_setup
def test_number_of_zones(self):
"""There should be two zones: one forward, one reverse"""