1
0
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:
Grigory Smolkin 2019-12-24 15:03:59 +03:00
parent 64d35c5022
commit 75fefb0858
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 = {}

View File

@ -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()