mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
tests: minor update
This commit is contained in:
@@ -2220,6 +2220,14 @@ class BackupTest(ProbackupTest, unittest.TestCase):
|
||||
output = self.restore_node(
|
||||
backup_dir, 'node', node, backup_id=full_id, options=['--force'])
|
||||
|
||||
self.assertIn(
|
||||
'WARNING: Backup {0} has status: CORRUPT'.format(full_id),
|
||||
output)
|
||||
|
||||
self.assertIn(
|
||||
'WARNING: Backup {0} is corrupt.'.format(full_id),
|
||||
output)
|
||||
|
||||
self.assertIn(
|
||||
'WARNING: Backup {0} is not valid, restore is forced'.format(full_id),
|
||||
output)
|
||||
|
||||
Reference in New Issue
Block a user