]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: Disable a test for kernel mount 64550/head
authorKotresh HR <khiremat@redhat.com>
Wed, 13 Aug 2025 11:03:29 +0000 (11:03 +0000)
committerKotresh HR <khiremat@redhat.com>
Wed, 13 Aug 2025 11:09:05 +0000 (11:09 +0000)
The kclient fix isn't yet landed in the kernel and hence
the test 'test_multifs_single_client_cross_access_r_caps_end'
would fail for kernel mount. So disable the failing validation
in the test for kclient.

Fixes: https://tracker.ceph.com/issues/72167
Signed-off-by: Kotresh HR <khiremat@redhat.com>
qa/tasks/cephfs/test_admin.py

index 007e1f4e0e6d9f92221d8c9a9b664209314ac9e4..ef5fc8a5dde722d190d42804a1033e241c545c46 100644 (file)
@@ -1832,8 +1832,10 @@ class TestFsAuthorize(CephFSTestCase):
         # with 'rw' would end up having 'r' caps with the multifs for
         # auth caps used as in this test above.
         if ceph_client_version != "v19.2.2":
-            captester_fs1_rw.conduct_pos_test_for_write_caps()
-            captester_fs1_rw.conduct_pos_test_for_new_file_creation()
+            # The following condition should be removed once the fix lands in kernel
+            if isinstance(self.mount_a, FuseMount):
+                captester_fs1_rw.conduct_pos_test_for_write_caps()
+                captester_fs1_rw.conduct_pos_test_for_new_file_creation()
 
 
     def test_multifs_rootsquash_nofeature(self):