1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-20 11:34:51 +02:00

tests: fix tests.archive.ArchiveTest.test_basic_master_and_replica_concurrent_archiving

This commit is contained in:
Grigory Smolkin 2021-06-18 12:20:58 +03:00
parent 469c5a1736
commit e68132d10c

View File

@ -895,6 +895,9 @@ class ArchiveTest(ProbackupTest, unittest.TestCase):
set replica with archiving,
make sure that archiving on both node is working.
"""
if self.pg_config_version < self.version_to_num('9.6.0'):
return unittest.skip('You need PostgreSQL >= 9.6 for this test')
fname = self.id().split('.')[3]
backup_dir = os.path.join(self.tmp_path, module_name, fname, 'backup')
master = self.make_simple_node(