]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/cephfs: improve caps_helper.CapTester.run_mon_cap_tests()
authorRishabh Dave <ridave@redhat.com>
Thu, 6 Apr 2023 09:23:17 +0000 (14:53 +0530)
committerRishabh Dave <ridave@redhat.com>
Sat, 6 Apr 2024 10:14:16 +0000 (15:44 +0530)
commitcbe2bf708070443578267e77d555989650dd5d74
treeae4b98ffe107f2a18d84ce8a93cbe2417471a570
parentf580c2b4d2d3f68c14848ad68608aaa1c507e9b6
qa/cephfs: improve caps_helper.CapTester.run_mon_cap_tests()

This method checks if the output of the command "ceph fs ls" for client
ID it receives is same as the output printed for client.admin. Don't do
so, limit the test to only checking if "ceph fs ls --id client.x -k
keyring_file" prints fs name for which client.x has permissions.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit ad68a5512105e102a87d1fe9648257eebd4c432e)
qa/tasks/cephfs/caps_helper.py