ipatests: mark test_domain_resolution_order as expectedly failing

SSSD fix have not yet landed in Fedora 29 and below.
Relates to https://pagure.io/SSSD/sssd/issue/3957

Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
Sergey Orlov
2019-06-27 13:12:15 +02:00
parent 0d15eb78d4
commit 4740655260

View File

@@ -19,6 +19,7 @@
import pytest
from ipaplatform.osinfo import osinfo
from ipatests.test_integration.base import IntegrationTest
from ipatests.pytest_ipa.integration.tasks import (
clear_sssd_cache, get_host_ip_with_hostmask, modify_sssd_conf)
@@ -714,6 +715,9 @@ class TestSudo(IntegrationTest):
raiseonerr=False)
assert result.returncode != 0
@pytest.mark.xfail(
osinfo.id == 'fedora' and osinfo.version_number < (30,),
reason="https://pagure.io/SSSD/sssd/issue/3957", strict=True)
def test_domain_resolution_order(self):
"""Test sudo with runAsUser and domain resolution order.