File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -550,6 +550,16 @@ def test_disallow_monitor_managed_snaps_for_fs_pools(self):
550550 with self .assertRaises (CommandFailedError ):
551551 self .fs .rados (["mksnap" , "snap2" ], pool = self .fs .get_metadata_pool_name ())
552552
553+ with self .assertRaises (CommandFailedError ):
554+ test_pool_name = self .fs .get_data_pool_name ()
555+ base_cmd = f'osd pool mksnap { test_pool_name } snap3'
556+ self .run_cluster_cmd (base_cmd )
557+
558+ with self .assertRaises (CommandFailedError ):
559+ test_pool_name = self .fs .get_metadata_pool_name ()
560+ base_cmd = f'osd pool mksnap { test_pool_name } snap4'
561+ self .run_cluster_cmd (base_cmd )
562+
553563 def test_attaching_pools_with_snaps_to_fs_fails (self ):
554564 """
555565 Test that attempt to attach pool with snapshots to an fs fails
You can’t perform that action at this time.
0 commit comments