From: Kotresh HR Date: Tue, 6 Sep 2022 12:29:54 +0000 (+0530) Subject: qa: Fix test_subvolume_snapshot_info_if_orphan_clone X-Git-Tag: v16.2.11~231^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e037cd6bd1e83619b1b258842e83fd36b54eedaf;p=ceph.git qa: Fix test_subvolume_snapshot_info_if_orphan_clone 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 (cherry picked from commit d382185f494b4437b17741281d7652e0a11965da) --- diff --git a/qa/tasks/cephfs/test_volumes.py b/qa/tasks/cephfs/test_volumes.py index 2113957aae32..f46500d2886f 100644 --- a/qa/tasks/cephfs/test_volumes.py +++ b/qa/tasks/cephfs/test_volumes.py @@ -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: