]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/mgr/dashboard: set pg_num to 32 32788/head
authorNeha <nojha@redhat.com>
Wed, 22 Jan 2020 16:38:38 +0000 (16:38 +0000)
committerNeha <nojha@redhat.com>
Wed, 22 Jan 2020 16:38:38 +0000 (16:38 +0000)
Signed-off-by: Neha Ojha <nojha@redhat.com>
qa/tasks/mgr/dashboard/test_pool.py

index e3528748033237a025e925d532c02bdc1e658f07..6b4f765c8e5274b68c4436e04fa72247d1294a0a 100644 (file)
@@ -61,7 +61,7 @@ class PoolTest(DashboardTestCase):
     def _create_pool(self, name, data):
         data = data or {
             'pool': name,
-            'pg_num': '16',
+            'pg_num': '32',
             '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': '16',
+            'pg_num': '32',
             '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': '16',
+            'pg_num': '32',
             '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': '16',
+            'pg_num': '32',
             'pool_type': 'replicated',
             'compression_algorithm': 'zstd',
             'compression_mode': 'aggressive',
@@ -269,7 +269,7 @@ class PoolTest(DashboardTestCase):
             {
                 'pool_data': {
                     'pool': 'dashboard_pool_quota1',
-                    'pg_num': '16',
+                    'pg_num': '32',
                     'pool_type': 'replicated',
                 },
                 'pool_quotas_to_check': {
@@ -280,7 +280,7 @@ class PoolTest(DashboardTestCase):
             {
                 'pool_data': {
                     'pool': 'dashboard_pool_quota2',
-                    'pg_num': '16',
+                    'pg_num': '32',
                     'pool_type': 'replicated',
                     'quota_max_objects': 1024,
                     'quota_max_bytes': 1000,