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',
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'],
})
['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',
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',
{
'pool_data': {
'pool': 'dashboard_pool_quota1',
- 'pg_num': '8',
+ 'pg_num': '16',
'pool_type': 'replicated',
},
'pool_quotas_to_check': {
{
'pool_data': {
'pool': 'dashboard_pool_quota2',
- 'pg_num': '8',
+ 'pg_num': '16',
'pool_type': 'replicated',
'quota_max_objects': 1024,
'quota_max_bytes': 1000,