mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
Check cluster health after each pool update
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
This commit is contained in:
parent
70aa650014
commit
0886de94b4
@ -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'],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user