ipatests: fix wrong xfail in test_domain_resolution_order

The test is written for a SSSD fix delivered in 2.2.0, but has a xfail
based on fedora version < 30.
SSSD 2.2.0 was originally available only on fedora 30 but is now also
available on fedora 29, and recent runs on f29 started to succeed
(because the fix is now present) but with a strict xfail.

The fix completely removes the xfail as the current branch is supported on
fedora 29 and 30.

Fixes: https://pagure.io/freeipa/issue/8052
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Sergey Orlov <sorlov@redhat.com>
Reviewed-By: Francois Cami <fcami@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2019-08-28 13:27:56 +02:00
parent b20ae34b48
commit b48fe19fe5

View File

@ -19,7 +19,6 @@
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)
@ -715,9 +714,6 @@ 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.