mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-04-12 11:58:15 +02:00
tests: validate fix (windows support)
This commit is contained in:
parent
723c2b01a2
commit
c69d4ed7f8
@ -56,7 +56,7 @@ class ValidateTest(ProbackupTest, unittest.TestCase):
|
||||
|
||||
with open(log_file_path) as f:
|
||||
self.assertTrue(
|
||||
'LOG: File: {0} blknum 1, empty page'.format(file) in f.read(),
|
||||
'{0} blknum 1, empty page'.format(file_path) in f.read(),
|
||||
'Failed to detect nullified block')
|
||||
|
||||
self.validate_pb(backup_dir)
|
||||
@ -3134,6 +3134,7 @@ class ValidateTest(ProbackupTest, unittest.TestCase):
|
||||
self.run_binary(
|
||||
[
|
||||
pg_resetxlog_path,
|
||||
'-D',
|
||||
os.path.join(backup_dir, 'backups', 'node', backup_id, 'database'),
|
||||
'-o 42',
|
||||
'-f'
|
||||
|
Loading…
x
Reference in New Issue
Block a user