Merge PR #22969 into master

* refs/pull/22969/head:
	qa/mgr: delete devicehealth pool after selftest

Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2018-07-11 09:50:27 -05:00
commit 1d9d61b784

View File

@ -53,6 +53,13 @@ class TestModuleSelftest(MgrTestCase):
def test_devicehealth(self):
self._selftest_plugin("devicehealth")
# Clean up the pool that the module creates, because otherwise
# it's low PG count causes test failures.
pool_name = "device_health_metrics"
self.mgr_cluster.mon_manager.raw_cluster_cmd(
"osd", "pool", "delete", pool_name, pool_name,
"--yes-i-really-really-mean-it")
def test_selftest_run(self):
self._load_module("selftest")