From d1b94fef4fda94397ff5ec870a80a09167d215d3 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 (cherry picked from commit e5099d67a2478e199bba6a435300964756005525) --- 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 04ae567b892..c82bf509714 100644 --- a/qa/tasks/cephfs/test_volumes.py +++ b/qa/tasks/cephfs/test_volumes.py @@ -5730,6 +5730,9 @@ class TestSubvolumeSnapshotClones(TestVolumesHelper): snapshot = self._generate_random_snapshot_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") @@ -5780,6 +5783,9 @@ class TestSubvolumeSnapshotClones(TestVolumesHelper): # 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) @@ -5883,6 +5889,9 @@ class TestSubvolumeSnapshotClones(TestVolumesHelper): # 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) -- 2.39.5