]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/tasks: tests for resize subvolume
authorJos Collin <jcollin@redhat.com>
Wed, 4 Sep 2019 10:13:31 +0000 (15:43 +0530)
committerJos Collin <jcollin@redhat.com>
Thu, 24 Oct 2019 10:36:31 +0000 (16:06 +0530)
commit045457873d75e7a0f10e36566817dfc1fa0d048d
tree0e1f94e1a904543e0dbd0a2f2f0609f35fc58a2b
parentefd5b1fad56da813aa4d548c9fe19eb3f20ec533
qa/tasks: tests for resize subvolume

* That a subvolume can be expanded in size and its quota matches the expected size.
* That a subvolume can be shrinked in size and its quota matches the expected size.
* That a subvolume cannot be resized to an invalid size and the quota did not change
* That a subvolume cannot be resized to a zero size and the quota did not change
* That a subvolume can be resized to a size smaller than the current used size and
  the resulting quota matches the expected size.
* That a subvolume cannot be resized to a size smaller than the current used size when
  --no_shrink is given and the quota did not change.
* That the subvolume can be expanded from a full subvolume and future writes succeed.

Fixes: https://tracker.ceph.com/issues/41182
Signed-off-by: Jos Collin <jcollin@redhat.com>
qa/tasks/cephfs/test_volumes.py