mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-20 11:34:51 +02:00
fix ptrack
This commit is contained in:
parent
a4917beacc
commit
2eea2dd433
@ -164,7 +164,7 @@ class ProbackupTest(object):
|
||||
shutil.rmtree(real_base_dir, ignore_errors=True)
|
||||
|
||||
node = testgres.get_new_node('test', base_dir=real_base_dir)
|
||||
node.should_rm_base_dir = True
|
||||
node.should_rm_dirs = True
|
||||
node.init(initdb_params=initdb_params, allow_streaming=set_replication)
|
||||
|
||||
# Sane default parameters, not a shit with fsync = off from testgres
|
||||
|
@ -20,7 +20,7 @@ class RestoreTest(ProbackupTest, unittest.TestCase):
|
||||
initdb_params=['--data-checksums'],
|
||||
pg_options={'wal_level': 'replica'}
|
||||
)
|
||||
print(node.should_rm_dirs)
|
||||
|
||||
backup_dir = os.path.join(self.tmp_path, module_name, fname, 'backup')
|
||||
self.init_pb(backup_dir)
|
||||
self.add_instance(backup_dir, 'node', node)
|
||||
@ -35,7 +35,6 @@ class RestoreTest(ProbackupTest, unittest.TestCase):
|
||||
backup_id = self.backup_node(backup_dir, 'node', node)
|
||||
|
||||
node.stop()
|
||||
print(node.should_rm_dirs)
|
||||
node.cleanup()
|
||||
|
||||
# 1 - Test recovery from latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user