1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-25 09:01:48 +02:00

tests: minor fix

This commit is contained in:
Grigory Smolkin 2019-09-05 13:09:13 +03:00
parent a42ebbff0c
commit be339bf406

View File

@ -578,12 +578,12 @@ class ArchiveTest(ProbackupTest, unittest.TestCase):
backup_dir, 'node',
options=['--recovery-target-xid={0}'.format(xid)])
# log_file = os.path.join(node.logs_dir, 'postgresql.log')
# with open(log_file, 'r') as f:
# log_content = f.read()
# self.assertIn(
# 'Reusing stale destination temporary WAL file',
# log_content)
log_file = os.path.join(node.logs_dir, 'postgresql.log')
with open(log_file, 'r') as f:
log_content = f.read()
self.assertIn(
'Reusing stale destination temporary WAL file',
log_content)
# Clean after yourself
self.del_test_dir(module_name, fname)