From d39786c0514b124f0e11a3fbcfef104d1eccea3b Mon Sep 17 00:00:00 2001 From: Anuja More Date: Mon, 15 Jun 2020 17:13:51 +0530 Subject: [PATCH] ipatests: xfail test with older versions of sssd Related to: https://pagure.io/SSSD/sssd/issue/4173 Signed-off-by: Anuja More Reviewed-By: Florence Blanc-Renaud Reviewed-By: Varun Mylaraiah --- ipatests/test_integration/test_sssd.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ipatests/test_integration/test_sssd.py b/ipatests/test_integration/test_sssd.py index 586224ed6..ad70c1d1c 100644 --- a/ipatests/test_integration/test_sssd.py +++ b/ipatests/test_integration/test_sssd.py @@ -419,7 +419,10 @@ class TestSSSDWithAdTrust(IntegrationTest): '--uid=10001', '--gid=10000']) try: clear_sssd_cache(client) - verify_retrieved_users_domain() + sssd_version = tasks.get_sssd_version(client) + with xfail_context(sssd_version < tasks.parse_version('2.3.0'), + 'https://pagure.io/SSSD/sssd/issue/4173'): + verify_retrieved_users_domain() finally: self.master.run_command(['ipa', 'idview-del', idview])