From: Rishabh Dave Date: Mon, 31 Jul 2023 12:44:45 +0000 (+0530) Subject: qa/cephfs: fix test_disallow_monitor_managed_snaps_for_fs_pools X-Git-Tag: v19.0.0~763^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F52709%2Fhead;p=ceph.git qa/cephfs: fix test_disallow_monitor_managed_snaps_for_fs_pools run_cluster_cmd() method is not available anymore because it was deleted here on this PR - https://github.com/ceph/ceph/pull/50569/files#diff-1c6c246ba42f343603d7174198dd1fb9c2654b6c883594d1a0891096b7a35875L408 Fixes: https://tracker.ceph.com/issues/62243 Signed-off-by: Rishabh Dave --- diff --git a/qa/tasks/cephfs/test_snapshots.py b/qa/tasks/cephfs/test_snapshots.py index 29dc06066ad4..a9639a7ebbca 100644 --- a/qa/tasks/cephfs/test_snapshots.py +++ b/qa/tasks/cephfs/test_snapshots.py @@ -553,12 +553,12 @@ class TestMonSnapsAndFsPools(CephFSTestCase): with self.assertRaises(CommandFailedError): test_pool_name = self.fs.get_data_pool_name() base_cmd = f'osd pool mksnap {test_pool_name} snap3' - self.run_cluster_cmd(base_cmd) + self.run_ceph_cmd(base_cmd) with self.assertRaises(CommandFailedError): test_pool_name = self.fs.get_metadata_pool_name() base_cmd = f'osd pool mksnap {test_pool_name} snap4' - self.run_cluster_cmd(base_cmd) + self.run_ceph_cmd(base_cmd) def test_attaching_pools_with_snaps_to_fs_fails(self): """