]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: Fix test_subvolume_snapshot_info_if_orphan_clone
authorKotresh HR <khiremat@redhat.com>
Tue, 6 Sep 2022 12:29:54 +0000 (17:59 +0530)
committerKotresh HR <khiremat@redhat.com>
Sat, 1 Oct 2022 07:28:36 +0000 (12:58 +0530)
The list of pending clones didn't match the expected.
The test fails occasionally. This is because the
clone would have finished before checking for this.
So increase the clone delay.

Fixes: https://tracker.ceph.com/issues/57446
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit d382185f494b4437b17741281d7652e0a11965da)

qa/tasks/cephfs/test_volumes.py

index 330b6cb941fe3a59db763e8fb9cfefb826c8b1ab..564e36bb53a68f30aa87b1ddb6a9501440e493fa 100644 (file)
@@ -5771,7 +5771,7 @@ class TestSubvolumeSnapshotClones(TestVolumesHelper):
         self._fs_cmd("subvolume", "snapshot", "create", self.volname, subvolume, snapshot)
 
         # insert delay at the beginning of snapshot clone
-        self.config_set('mgr', 'mgr/volumes/snapshot_clone_delay', 5)
+        self.config_set('mgr', 'mgr/volumes/snapshot_clone_delay', 10)
 
         # schedule a clones
         for clone in clone_list: