]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs: add and use run_ceph_cmd()
authorRishabh Dave <ridave@redhat.com>
Thu, 16 Mar 2023 09:41:08 +0000 (15:11 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 13 Mar 2024 13:42:30 +0000 (19:12 +0530)
commit55da8a62227d3d9159c0b9cc18f01c91b10ce1b0
tree84efaf29d2b7c5644ba3a0e6302e7f328593daa7
parent426f825303305bbc510d05a2e79449e884e09d9f
qa/cephfs: add and use run_ceph_cmd()

Instead of writing something as long as
"self.mds_cluster.mon_manager.run_cluster_cmd()" to execute a command,
let's add a helper method to class CephFSTestCase and use it instead.

With this, running a command becomes simple - "self.run_ceph_cmd()".

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit f8f2154e54e202996b24904162da6022081e9d93)

Conflicts:
qa/tasks/cephfs/test_damage.py
Conflict was due to the fact that this file is slightly different on
quincy branch compared to the main branch version when the commit
being cherry-picked was merged.
qa/tasks/cephfs/cephfs_test_case.py
qa/tasks/cephfs/test_admin.py
qa/tasks/cephfs/test_damage.py
qa/tasks/cephfs/test_multifs_auth.py
qa/tasks/cephfs/test_nfs.py
qa/tasks/cephfs/test_volumes.py