]> 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>
Wed, 26 Aug 2020 17:41:08 +0000 (13:41 -0400)
commit88cffe6ea97733f2f0169362ffbde3e3827dc861
treec907a599dbc2c3ca903c3887a99364d68a03fd7c
parentfe0c0bd5ea1e7ebd7f2777848b9cac3966342dda
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>
qa/tasks/cephfs/test_volumes.py