From: Xiubo Li Date: Tue, 5 Dec 2023 01:40:06 +0000 (+0800) Subject: qa/cephfs: remove the uneccessary check for root_squash X-Git-Tag: v19.1.1~265^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e56b9d21370ae23dff686c68991d5d69997cafd9;p=ceph.git qa/cephfs: remove the uneccessary check for root_squash Just checking the caps in the keyring is enough. Fixes: e64931b6a80 ("mds/Server: disallow clients that have root_squash") Fixes: https://tracker.ceph.com/issues/63141 Signed-off-by: Xiubo Li (cherry picked from commit 920eceb97740cccf027f2af25370dce36b9cb98e) --- diff --git a/qa/tasks/cephfs/test_admin.py b/qa/tasks/cephfs/test_admin.py index afac6f1dfcbd2..146efe4b817c3 100644 --- a/qa/tasks/cephfs/test_admin.py +++ b/qa/tasks/cephfs/test_admin.py @@ -1691,8 +1691,6 @@ class TestFsAuthorizeUpdate(CephFSTestCase): mdscap = gen_mds_cap_str(((PERM, self.fs.name, PATH, True),)) for cap in (moncap, osdcap, mdscap): self.assertIn(cap, keyring) - self._remount(self.mount_a, self.fs.name, keyring, PATH) - self.captester.run_cap_tests(self.fs, self.client_id, PERM, PATH) def _get_uid(self): return self.mount_a.client_remote.run(