]> 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, 27 Aug 2020 19:42:58 +0000 (15:42 -0400)
commit9d8aee1222ce7bbba9beb385ab4357393f52e033
treea2d7848d02d78fc08e06a050a2828ec03cc822fe
parent753c22f5a55578285e38bf13dd17071e18378ab7
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)

Conflicts:
qa/tasks/cephfs/test_volumes.py
- Remove pin related test cases
qa/tasks/cephfs/test_volumes.py