]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: fix test_disallow_monitor_managed_snaps_for_fs_pools 52709/head
authorRishabh Dave <ridave@redhat.com>
Mon, 31 Jul 2023 12:44:45 +0000 (18:14 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 31 Jul 2023 12:48:51 +0000 (18:18 +0530)
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 <ridave@redhat.com>
qa/tasks/cephfs/test_snapshots.py

index 29dc06066ad4dbc219ea5ff866ac79da325f2253..a9639a7ebbcafeedb748e6e49caaed30e8ba56b1 100644 (file)
@@ -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):
         """