]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: disable snapshot_clone_no_wait for some tests 55660/head
authorVenky Shankar <vshankar@redhat.com>
Mon, 19 Feb 2024 06:36:32 +0000 (01:36 -0500)
committerVenky Shankar <vshankar@redhat.com>
Tue, 20 Feb 2024 16:51:14 +0000 (22:21 +0530)
Signed-off-by: Venky Shankar <vshankar@redhat.com>
qa/tasks/cephfs/test_volumes.py

index 650ebcf26c8ffdd37a08381f8c2a1a93cae02367..037b046304eb97110648cb52c2edd9fb37155938 100644 (file)
@@ -5760,6 +5760,9 @@ class TestSubvolumeSnapshotClones(TestVolumesHelper):
         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 @@ 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)
@@ -5913,6 +5919,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)