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>
(cherry picked from commit
485f37ac1fe7d233685ce1a1f9ac5360c142b1f5)
# 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):