From e5099d67a2478e199bba6a435300964756005525 Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Mon, 19 Feb 2024 01:36:32 -0500 Subject: [PATCH] qa: disable snapshot_clone_no_wait for some tests Signed-off-by: Venky Shankar --- qa/tasks/cephfs/test_volumes.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/qa/tasks/cephfs/test_volumes.py b/qa/tasks/cephfs/test_volumes.py index 650ebcf26c8ff..037b046304eb9 100644 --- a/qa/tasks/cephfs/test_volumes.py +++ b/qa/tasks/cephfs/test_volumes.py @@ -5760,6 +5760,9 @@ def test_subvolume_snapshot_info_if_no_clone_pending(self): snapshot = self._gen_subvol_snap_name() clone_list = [f'clone_{i}' for i in range(3)] + # disable "capped" clones + self.config_set('mgr', 'mgr/volumes/snapshot_clone_no_wait', False) + # create subvolume. self._fs_cmd("subvolume", "create", self.volname, subvolume, "--mode=777") @@ -5810,6 +5813,9 @@ def test_subvolume_snapshot_info_if_clone_pending_for_no_group(self): # insert delay at the beginning of snapshot clone self.config_set('mgr', 'mgr/volumes/snapshot_clone_delay', 5) + # disable "capped" clones + self.config_set('mgr', 'mgr/volumes/snapshot_clone_no_wait', False) + # schedule a clones for clone in clone_list: self._fs_cmd("subvolume", "snapshot", "clone", self.volname, subvolume, snapshot, clone) @@ -5913,6 +5919,9 @@ def test_subvolume_snapshot_info_if_orphan_clone(self): # insert delay at the beginning of snapshot clone self.config_set('mgr', 'mgr/volumes/snapshot_clone_delay', 15) + # disable "capped" clones + self.config_set('mgr', 'mgr/volumes/snapshot_clone_no_wait', False) + # schedule a clones for clone in clone_list: self._fs_cmd("subvolume", "snapshot", "clone", self.volname, subvolume, snapshot, clone)