mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-07 13:40:17 +02:00
tests: minor fix for PGPRO-1918
This commit is contained in:
parent
6b4f698da0
commit
119f118af0
@ -97,7 +97,10 @@ class LockingTest(ProbackupTest, unittest.TestCase):
|
||||
self.assertEqual(
|
||||
'RUNNING', self.show_pb(backup_dir, 'node')[1]['status'])
|
||||
|
||||
self.validate_pb(backup_dir)
|
||||
try:
|
||||
self.validate_pb(backup_dir)
|
||||
except:
|
||||
pass
|
||||
|
||||
self.assertEqual(
|
||||
'OK', self.show_pb(backup_dir, 'node')[0]['status'])
|
||||
@ -153,7 +156,10 @@ class LockingTest(ProbackupTest, unittest.TestCase):
|
||||
os.remove(
|
||||
os.path.join(backup_dir, 'backups', 'node', backup_id, 'backup.pid'))
|
||||
|
||||
self.validate_pb(backup_dir)
|
||||
try:
|
||||
self.validate_pb(backup_dir)
|
||||
except:
|
||||
pass
|
||||
|
||||
self.assertEqual(
|
||||
'OK', self.show_pb(backup_dir, 'node')[0]['status'])
|
||||
|
Loading…
Reference in New Issue
Block a user