1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-02-09 14:33:17 +02:00

[Issue #261] fix tests

This commit is contained in:
Grigory Smolkin 2020-09-25 11:49:05 +03:00
parent c1e52db651
commit ee6d0327de
2 changed files with 4 additions and 1 deletions

View File

@ -2212,7 +2212,7 @@ class ArchiveTest(ProbackupTest, unittest.TestCase):
base_dir=os.path.join(module_name, fname, 'node'),
set_replication=True,
initdb_params=['--data-checksums'],
pg_options={'autovacuum': 'off', 'wal_keep_segments': '200'})
pg_options={'autovacuum': 'off'})
self.init_pb(backup_dir)
self.add_instance(backup_dir, 'node', node)

View File

@ -371,6 +371,9 @@ class ProbackupTest(object):
else:
options['ptrack_enable'] = 'on'
if node.major_version >= 13:
options['wal_keep_size'] = '200MB'
# set default values
self.set_auto_conf(node, options)