From 4740655260caa7baee4473b0d35840a4c0da3dac Mon Sep 17 00:00:00 2001 From: Sergey Orlov Date: Thu, 27 Jun 2019 13:12:15 +0200 Subject: [PATCH] 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 --- ipatests/test_integration/test_sudo.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ipatests/test_integration/test_sudo.py b/ipatests/test_integration/test_sudo.py index eb651ad3a..42a221f05 100644 --- a/ipatests/test_integration/test_sudo.py +++ b/ipatests/test_integration/test_sudo.py @@ -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.