mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-16 15:18:40 +02:00
[PBCKP-235] fix one test for <15.0
This commit is contained in:
parent
eaf3b14c22
commit
a8ee334c3f
@ -3441,10 +3441,15 @@ class BackupTest(ProbackupTest, unittest.TestCase):
|
||||
self.assertIn(
|
||||
'WARNING: backup in progress, stop backup',
|
||||
log_content)
|
||||
|
||||
self.assertIn(
|
||||
'FROM pg_catalog.pg_backup_stop',
|
||||
log_content)
|
||||
|
||||
if self.get_version(node) < 150000:
|
||||
self.assertIn(
|
||||
'FROM pg_catalog.pg_stop_backup',
|
||||
log_content)
|
||||
else:
|
||||
self.assertIn(
|
||||
'FROM pg_catalog.pg_backup_stop',
|
||||
log_content)
|
||||
|
||||
self.assertIn(
|
||||
'setting its status to ERROR',
|
||||
|
Loading…
x
Reference in New Issue
Block a user