From 022cd49ef5f9043df805e19ed094dc4eebd615a5 Mon Sep 17 00:00:00 2001 From: Anuja More Date: Jun 30 2020 09:49:09 +0000 Subject: ipatests: xfail test with older versions of sssd Related to: https://pagure.io/SSSD/sssd/issue/4173 Signed-off-by: Anuja More Reviewed-By: Kaleemullah Siddiqui --- diff --git a/ipatests/test_integration/test_sssd.py b/ipatests/test_integration/test_sssd.py index 586224e..ad70c1d 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])