You've already forked pg_probackup
mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-07-05 05:50:16 +02:00
tests: changes to tests.README and minor corrections
This commit is contained in:
@ -967,7 +967,8 @@ class ValidateTest(ProbackupTest, unittest.TestCase):
|
||||
# Delete wal segment
|
||||
wals_dir = os.path.join(backup_dir, 'wal', 'node')
|
||||
wals = [f for f in os.listdir(wals_dir) if os.path.isfile(os.path.join(wals_dir, f)) and not f.endswith('.backup')]
|
||||
file = os.path.join(backup_dir, 'wal', 'node', wals[1])
|
||||
wals.sort()
|
||||
file = os.path.join(backup_dir, 'wal', 'node', wals[3])
|
||||
os.remove(file)
|
||||
|
||||
# cut out '.gz'
|
||||
|
Reference in New Issue
Block a user