Skip to content

Commit be339bf

Browse files
committed
tests: minor fix
1 parent a42ebbf commit be339bf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/archive.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -578,12 +578,12 @@ def test_archive_push_partial_file_exists(self):
578578
backup_dir, 'node',
579579
options=['--recovery-target-xid={0}'.format(xid)])
580580

581-
# log_file = os.path.join(node.logs_dir, 'postgresql.log')
582-
# with open(log_file, 'r') as f:
583-
# log_content = f.read()
584-
# self.assertIn(
585-
# 'Reusing stale destination temporary WAL file',
586-
# log_content)
581+
log_file = os.path.join(node.logs_dir, 'postgresql.log')
582+
with open(log_file, 'r') as f:
583+
log_content = f.read()
584+
self.assertIn(
585+
'Reusing stale destination temporary WAL file',
586+
log_content)
587587

588588
# Clean after yourself
589589
self.del_test_dir(module_name, fname)

0 commit comments

Comments
 (0)