From: Sebastian Wagner Date: Tue, 3 Jul 2018 11:57:13 +0000 (+0200) Subject: Check cluster health after each pool update X-Git-Tag: v14.0.1~716^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0886de94b48a8ea5022710ce46cb07629bef5d27;p=ceph.git Check cluster health after each pool update Signed-off-by: Sebastian Wagner --- diff --git a/qa/tasks/mgr/dashboard/test_pool.py b/qa/tasks/mgr/dashboard/test_pool.py index 1040e6421a58..665c854f9991 100644 --- a/qa/tasks/mgr/dashboard/test_pool.py +++ b/qa/tasks/mgr/dashboard/test_pool.py @@ -141,6 +141,9 @@ class PoolTest(DashboardTestCase): log.exception("test_pool_create: pool=%s", pool) raise + health = self._get('/api/dashboard/health')['health'] + self.assertEqual(health['status'], 'HEALTH_OK', msg='health={}'.format(health)) + def test_pool_create(self): self._ceph_cmd(['osd', 'crush', 'rule', 'create-erasure', 'ecrule']) self._ceph_cmd( @@ -178,9 +181,9 @@ class PoolTest(DashboardTestCase): { 'application_metadata': ['rbd', 'sth'], }, - { - 'pg_num': '12', - }, + # { + # 'pg_num': '12', + # }, { 'application_metadata': ['rgw'], },