ipatests: xfail test with older versions of sssd

Related to: https://pagure.io/SSSD/sssd/issue/4173

Signed-off-by: Anuja More <amore@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Varun Mylaraiah <mvarun@redhat.com>
This commit is contained in:
Anuja More
2020-06-15 17:13:51 +05:30
committed by Florence Blanc-Renaud
parent 0cb0056fd6
commit d39786c051

View File

@@ -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])