]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/cephfs: update TestPausePurging
authorRishabh Dave <ridave@redhat.com>
Mon, 31 Mar 2025 17:59:25 +0000 (23:29 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 3 Dec 2025 07:51:56 +0000 (13:21 +0530)
commitd98531c263688ea98c8f5362051e3a811e1394f5
tree493d8e5c029632e948e97f65907aaca4784b2249
parentecdc52f2c92771423643a43346d27c74fc742626
qa/cephfs: update TestPausePurging

This test has helper methods that construct paths of subvolumes after
they've been moved to trash directory. For this, subvolume path is
obtained before deletion by running "ceph fs subvolume getpath" command
and then manipulating the string obtained in the output of this command
to get the path of the subvolume after it has been moved to trash
directory.

These 2 specific string modifications are causing tests failures:
subvolume name is deleted from the "path" string and UUID is found and
added to this "path" string. This specific code is now outdated due to
introduction of subvolume v3. Revise and update it so that tests don't
fail due to introduction of subvolume v3.

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