bb0ded
From 7ad500e5d3f7d9af81e8a3137158672c6fafb0b4 Mon Sep 17 00:00:00 2001
bb0ded
From: Anuja More <amore@redhat.com>
bb0ded
Date: Thu, 10 Feb 2022 17:29:45 +0530
bb0ded
Subject: [PATCH] Mark xfail
bb0ded
 test_gidnumber_not_corresponding_existing_group[true,hybrid]
bb0ded
bb0ded
Related : https://github.com/SSSD/sssd/issues/5988
bb0ded
bb0ded
Signed-off-by: Anuja More <amore@redhat.com>
bb0ded
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
bb0ded
Reviewed-By: Anuja More <amore@redhat.com>
bb0ded
---
bb0ded
 ipatests/test_integration/test_trust.py | 9 ++++++---
bb0ded
 1 file changed, 6 insertions(+), 3 deletions(-)
bb0ded
bb0ded
diff --git a/ipatests/test_integration/test_trust.py b/ipatests/test_integration/test_trust.py
bb0ded
index 54bd154628cb8fb063d9839d7928acd37647e2a4..c128378151ec4c0fb295823d75f2a04df2f7ffa0 100644
bb0ded
--- a/ipatests/test_integration/test_trust.py
bb0ded
+++ b/ipatests/test_integration/test_trust.py
bb0ded
@@ -1169,9 +1169,12 @@ class TestPosixAutoPrivateGroup(BaseTestTrust):
bb0ded
                                                  raiseonerr=False)
bb0ded
             tasks.assert_error(result, "no such user")
bb0ded
         else:
bb0ded
-            (uid, gid) = self.get_user_id(self.clients[0], posixuser)
bb0ded
-            assert uid == gid
bb0ded
-            assert uid == '10060'
bb0ded
+            sssd_version = tasks.get_sssd_version(self.clients[0])
bb0ded
+            with xfail_context(sssd_version <= tasks.parse_version('2.6.3'),
bb0ded
+                               'https://github.com/SSSD/sssd/issues/5988'):
bb0ded
+                (uid, gid) = self.get_user_id(self.clients[0], posixuser)
bb0ded
+                assert uid == gid
bb0ded
+                assert uid == '10060'
bb0ded
 
bb0ded
     @pytest.mark.parametrize('type', ['hybrid', 'true', "false"])
bb0ded
     def test_only_uid_number_auto_private_group_default(self, type):
bb0ded
-- 
bb0ded
2.34.1
bb0ded