]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephfs: create enough subvolumes 40509/head
authorRamana Raja <rraja@redhat.com>
Tue, 30 Mar 2021 19:31:46 +0000 (15:31 -0400)
committerRamana Raja <rraja@redhat.com>
Tue, 30 Mar 2021 20:36:21 +0000 (16:36 -0400)
... 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 <rraja@redhat.com>
qa/tasks/cephfs/test_volumes.py

index d82a1868531ed2ca88dadf7fcd09c61319021f0c..a759d55ec3a09849b3ee26d0d11ec7d1c4f23085 100644 (file)
@@ -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")