]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Tests amended and added to ensure subvolume trash functionality
authorShyamsundar Ranganathan <srangana@redhat.com>
Mon, 24 Aug 2020 19:10:44 +0000 (15:10 -0400)
committerShyamsundar Ranganathan <srangana@redhat.com>
Thu, 28 Jan 2021 15:16:55 +0000 (10:16 -0500)
commitb1a6c17ebcbbc914b2f3d989e27ccb11c46de8d9
treefad32880cd25c7f3765ad13b03349f5ff9ad4a66
parent48834afcb3856a74f51095455419eaa9f3e54d4c
mgr/volumes: Tests amended and added to ensure subvolume trash functionality

Amended a few test cases to ensure created subvolumes and snaps
are removed, and trash stays empty at the end of the test.

Further added one test case for create errors in a retained
v2 subvolume, to ensure metadata is sane, and created incarnation
is not present.

Fixes: https://tracker.ceph.com/issues/47154
Signed-off-by: Shyamsundar Ranganathan <srangana@redhat.com>
(cherry picked from commit 88cffe6ea97733f2f0169362ffbde3e3827dc861)
qa/tasks/cephfs/test_volumes.py