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

as the default pg_num is now 16 since 78bf9244, and the minimum pg_num
is also 16 in autoscaler since 78bf9244.

Fixes: https://tracker.ceph.com/issues/43227
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2020-01-09 20:52:26 +08:00
parent 1ca0a119c1
commit 15a5ebdce2

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,