]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: Fix traceback during fs cleanup between tests 36155/head
authorKotresh HR <khiremat@redhat.com>
Tue, 21 Jul 2020 11:39:39 +0000 (17:09 +0530)
committerKotresh HR <khiremat@redhat.com>
Thu, 30 Jul 2020 07:39:24 +0000 (13:09 +0530)
commit381925d219ac2c847947ae1deeab31d6cc2f668f
tree0f49966af06e431ca1860b2acf02095dc9e655f0
parent9487ddb3a4616674ef69dbc59e8e3f3afcf30b2f
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>
qa/tasks/cephfs/cephfs_test_case.py