]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs: upgrade caps_helper.CapTester.run_mon_cap_tests()
authorRishabh Dave <ridave@redhat.com>
Sat, 30 Apr 2022 07:35:53 +0000 (13:05 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 21 Jul 2022 12:23:16 +0000 (17:53 +0530)
commit463c9e171422f959a481ab3e434c87789b235fe3
tree18a9566ebf2eb8d3f5c53ff737c392b0e37e4d4e
parent2601831ff72f75983efc3e160f3c84f92b832a0e
qa/cephfs: upgrade caps_helper.CapTester.run_mon_cap_tests()

With this commit, the design of run_mon_cap_tests() is now aligned with
rest of CapTester -- it's not meant to be inherited by test class
anymore and it is to be called by using CapTester instance.

This commit also changes working of this method. Now instead of
obtaining FS names from Python objects representing FSs, it obtains
those names from MON cap. This removes the need to pass the FS objects
around.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/caps_helper.py