Skip to content

Commit c69d4ed

Browse files
committed
tests: validate fix (windows support)
1 parent 723c2b0 commit c69d4ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/validate_test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_validate_nullified_heap_page_backup(self):
5656

5757
with open(log_file_path) as f:
5858
self.assertTrue(
59-
'LOG: File: {0} blknum 1, empty page'.format(file) in f.read(),
59+
'{0} blknum 1, empty page'.format(file_path) in f.read(),
6060
'Failed to detect nullified block')
6161

6262
self.validate_pb(backup_dir)
@@ -3134,6 +3134,7 @@ def test_corrupt_pg_control_via_resetxlog(self):
31343134
self.run_binary(
31353135
[
31363136
pg_resetxlog_path,
3137+
'-D',
31373138
os.path.join(backup_dir, 'backups', 'node', backup_id, 'database'),
31383139
'-o 42',
31393140
'-f'

0 commit comments

Comments
 (0)