From e86f41daf18a6e339f477164d4ae4165998a06b8 Mon Sep 17 00:00:00 2001 From: Ramana Raja Date: Tue, 30 Mar 2021 15:31:46 -0400 Subject: [PATCH] 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 (cherry picked from commit 433b70a48349b7f7f7ef83dfa1d4b4c067e16d96) --- qa/tasks/cephfs/test_volumes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/cephfs/test_volumes.py b/qa/tasks/cephfs/test_volumes.py index d82a1868531ed..a759d55ec3a09 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") -- 2.39.5