Merge pull request #32575 from tchaikov/wip-43227

qa/tasks/mgr/dashboard: set pg_num to 16

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
This commit is contained in:
Kefu Chai 2020-01-09 23:23:15 +08:00 committed by GitHub
commit 2fe9771842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ class PoolTest(DashboardTestCase):
def _create_pool(self, name, data):
data = data or {
'pool': name,
'pg_num': '4',
'pg_num': '16',
'pool_type': 'replicated',
'compression_algorithm': 'snappy',
'compression_mode': 'passive',
@ -217,7 +217,7 @@ class PoolTest(DashboardTestCase):
def test_pool_create_with_two_applications(self):
self.__yield_pool(None, {
'pool': 'dashboard_pool1',
'pg_num': '8',
'pg_num': '16',
'pool_type': 'replicated',
'application_metadata': ['rbd', 'sth'],
})
@ -228,7 +228,7 @@ class PoolTest(DashboardTestCase):
['osd', 'erasure-code-profile', 'set', 'ecprofile', 'crush-failure-domain=osd'])
self.__yield_pool(None, {
'pool': 'dashboard_pool2',
'pg_num': '8',
'pg_num': '16',
'pool_type': 'erasure',
'application_metadata': ['rbd'],
'erasure_code_profile': 'ecprofile',
@ -239,7 +239,7 @@ class PoolTest(DashboardTestCase):
def test_pool_create_with_compression(self):
pool = {
'pool': 'dashboard_pool3',
'pg_num': '8',
'pg_num': '16',
'pool_type': 'replicated',
'compression_algorithm': 'zstd',
'compression_mode': 'aggressive',
@ -269,7 +269,7 @@ class PoolTest(DashboardTestCase):
{
'pool_data': {
'pool': 'dashboard_pool_quota1',
'pg_num': '8',
'pg_num': '16',
'pool_type': 'replicated',
},
'pool_quotas_to_check': {
@ -280,7 +280,7 @@ class PoolTest(DashboardTestCase):
{
'pool_data': {
'pool': 'dashboard_pool_quota2',
'pg_num': '8',
'pg_num': '16',
'pool_type': 'replicated',
'quota_max_objects': 1024,
'quota_max_bytes': 1000,