mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-16 15:18:40 +02:00
tests: minor fixes
This commit is contained in:
parent
64d35c5022
commit
75fefb0858
@ -2187,7 +2187,7 @@ class BackupTest(ProbackupTest, unittest.TestCase):
|
||||
# Clean after yourself
|
||||
self.del_test_dir(module_name, fname)
|
||||
|
||||
# @unittest.skip("skip")
|
||||
@unittest.skip("skip")
|
||||
def test_issue_132_1(self):
|
||||
"""
|
||||
https://github.com/postgrespro/pg_probackup/issues/132
|
||||
|
@ -328,7 +328,7 @@ class ProbackupTest(object):
|
||||
|
||||
# set major version
|
||||
with open(os.path.join(node.data_dir, 'PG_VERSION')) as f:
|
||||
node.major_version = int(f.read().rstrip())
|
||||
node.major_version = str(f.read().rstrip())
|
||||
|
||||
# Sane default parameters
|
||||
options = {}
|
||||
|
@ -411,7 +411,7 @@ class ReplicaTest(ProbackupTest, unittest.TestCase):
|
||||
replica, {'recovery_min_apply_delay': '300s'})
|
||||
else:
|
||||
replica.append_conf(
|
||||
'postgresql.auto.conf',
|
||||
'recovery.conf',
|
||||
'recovery_min_apply_delay = 300s')
|
||||
|
||||
replica.stop()
|
||||
|
Loading…
x
Reference in New Issue
Block a user