]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: in test_volumes.py, don't use deleted helper methods 54729/head
authorRishabh Dave <ridave@redhat.com>
Fri, 22 Mar 2024 17:05:06 +0000 (22:35 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 22 Mar 2024 17:05:06 +0000 (22:35 +0530)
_generate_random_group_name() and _generate_random_subvolume_name() were
deleted in one of the commit from this series of commits. And PR #54207
adds calls to these helper methods. This wasn't the case for the main
branch version of this series of commits. This is why this issue is
being fixed in Reef branch directly through a fresh/new commit instead
of backporting a commit.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/test_volumes.py

index dcf872378d101fba6e3aca27f5be8e3e4ff4bd7c..02705a9abc2264930de9e07e398439261af8c3a3 100644 (file)
@@ -1950,8 +1950,8 @@ class TestSubvolumeGroups(TestVolumesHelper):
         self.assertEqual(ret.strip('\n'), "no subvolumegroup exists")
 
     def test_subvolume_group_rm_when_its_not_empty(self):
-        group = self._generate_random_group_name()
-        subvolume = self._generate_random_subvolume_name()
+        group = self._gen_subvol_grp_name()
+        subvolume = self._gen_subvol_name()
 
         # create subvolumegroup
         self._fs_cmd("subvolumegroup", "create", self.volname, group)