From: Ramana Raja Date: Tue, 30 Mar 2021 19:31:46 +0000 (-0400) Subject: qa/tasks/cephfs: create enough subvolumes X-Git-Tag: v17.1.0~2421^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=433b70a48349b7f7f7ef83dfa1d4b4c067e16d96;p=ceph.git qa/tasks/cephfs: create enough subvolumes ... in a subvolume group so that the desired number of ephmerally pinned subtrees are created for the subvolume group, which has the distributed ephemeral pin policy set on it. Fixes: https://tracker.ceph.com/issues/48411 Signed-off-by: Ramana Raja --- diff --git a/qa/tasks/cephfs/test_volumes.py b/qa/tasks/cephfs/test_volumes.py index d82a1868531e..a759d55ec3a0 100644 --- a/qa/tasks/cephfs/test_volumes.py +++ b/qa/tasks/cephfs/test_volumes.py @@ -698,7 +698,7 @@ class TestSubvolumeGroups(TestVolumesHelper): group = "pinme" self._fs_cmd("subvolumegroup", "create", self.volname, group) self._fs_cmd("subvolumegroup", "pin", self.volname, group, "distributed", "True") - subvolumes = self._generate_random_subvolume_name(10) + subvolumes = self._generate_random_subvolume_name(50) for subvolume in subvolumes: self._fs_cmd("subvolume", "create", self.volname, subvolume, "--group_name", group) self._wait_distributed_subtrees(2 * 2, status=status, rank="all")