]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: Fix traceback during fs cleanup between tests 36714/head
authorKotresh HR <khiremat@redhat.com>
Tue, 21 Jul 2020 11:39:39 +0000 (17:09 +0530)
committerKotresh HR <khiremat@redhat.com>
Wed, 19 Aug 2020 10:09:02 +0000 (15:39 +0530)
commit369fe9324587d2560c309b143001f7f0720ab8ae
treeaa34d8f2b6e59495b0adb69337fa17fd5171f685
parent0422aa48045e76957778c03d45f183635cf14b0d
qa: Fix traceback during fs cleanup between tests

The 'mon_allow_pool_delete' option is set to 'True'
in 'setUp' of 'TestVolumes' and is cleared of in
corresponding 'tearDown' function. Hence, any pool
deletion in parent classes such as 'CephFSTestCase'
would fail. This patch fixes the same by setting
the config 'mon_allow_pool_delete' option in the
'CephFSTestCase'.

Fixes: https://tracker.ceph.com/issues/46597
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 381925d219ac2c847947ae1deeab31d6cc2f668f)
qa/tasks/cephfs/cephfs_test_case.py