1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-24 11:46:31 +02:00

tests: fix tests.restore.RestoreTest.test_restore_chain_with_corrupted_backup

This commit is contained in:
Grigory Smolkin 2021-04-22 18:37:29 +03:00
parent 588c4cd04b
commit 4390ad297b

View File

@ -1704,7 +1704,7 @@ class RestoreTest(ProbackupTest, unittest.TestCase):
try:
self.backup_node(
backup_dir, 'node', node,
backup_type='page', options=['--archive-timeout=0s'])
backup_type='page', options=['-U', 'wrong_name'])
except ProbackupException as e:
pass
@ -1716,7 +1716,7 @@ class RestoreTest(ProbackupTest, unittest.TestCase):
try:
self.backup_node(
backup_dir, 'node', node,
backup_type='delta', options=['--archive-timeout=0s'])
backup_type='delta', options=['-U', 'wrong_name'])
except ProbackupException as e:
pass
@ -1728,7 +1728,7 @@ class RestoreTest(ProbackupTest, unittest.TestCase):
try:
self.backup_node(
backup_dir, 'node', node,
backup_type='delta', options=['--archive-timeout=0s'])
backup_type='delta', options=['-U', 'wrong_name'])
except ProbackupException as e:
pass