1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-24 08:52:38 +02:00

[PBCKP-220] hotfix for PtrackTest

This commit is contained in:
Ivan Lazarev 2022-08-04 16:15:40 +03:00 committed by Vyacheslav Makarov
parent 2bc096bdf0
commit f88410e5d7

View File

@ -24,6 +24,8 @@ class PtrackTest(ProbackupTest, unittest.TestCase):
"""
drop relation during ptrack backup
"""
self._check_gdb_flag_or_skip_test()
backup_dir = os.path.join(self.tmp_path, module_name, self.fname, 'backup')
node = self.make_simple_node(
base_dir=os.path.join(module_name, self.fname, 'node'),
@ -994,6 +996,8 @@ class PtrackTest(ProbackupTest, unittest.TestCase):
make node, make full and ptrack stream backups,
restore them and check data correctness
"""
self._check_gdb_flag_or_skip_test()
backup_dir = os.path.join(self.tmp_path, module_name, self.fname, 'backup')
node = self.make_simple_node(
base_dir=os.path.join(module_name, self.fname, 'node'),