]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: Fix test_subvolume_snapshot_info_if_orphan_clone 48417/head
authorKotresh HR <khiremat@redhat.com>
Tue, 6 Sep 2022 12:29:54 +0000 (17:59 +0530)
committerKotresh HR <khiremat@redhat.com>
Mon, 10 Oct 2022 11:50:03 +0000 (17:20 +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 2113957aae326e06c8db2e9f7dc28f456878f81f..f46500d2886fa9b19fe2e55feba078b0f730f95c 100644 (file)
@@ -5688,7 +5688,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: