]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs: make it easier to use xfstests-dev using vstart_runner
authorRishabh Dave <ridave@redhat.com>
Sat, 7 May 2022 03:42:52 +0000 (09:12 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 22 Feb 2023 14:37:48 +0000 (20:07 +0530)
commit49c7a79f8a75985eb79b2cef42761b2758f58490
tree76c50d01fd42b0b8073d4f3fe1fee5d130cb95ae
parent4a00b2bbb1f940fc018993cf444b9696e9ab4b56
qa/cephfs: make it easier to use xfstests-dev using vstart_runner

The intention of this re-arrangement is to make it easier for developers
to use an already cloned and built xfstests-dev repo  with
vstart_runner.py.

The re-arrangements are -

* move tearDown() closer to setUp() (so that devs can
  enable/disable parts of them easily),

* carve out separate methods (so that these codeblocks can be disabled
  in a single go) for -
  ** deleting groups and users,
  ** deleting xfstests-dev and xfsprogs-dev repo and
  ** building xfstests-dev repo

* carve out method for deleting xfstests-dev and xfsprogs-dev repos

* add self.xfstests_repo_path comment (for devs to set path to
  xfstests-dev repo), and,

* add a note showing how to use already cloned and built xfstests-dev
  repo

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