We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaf3b14 commit a8ee334Copy full SHA for a8ee334
tests/backup.py
@@ -3441,10 +3441,15 @@ def test_backup_atexit(self):
3441
self.assertIn(
3442
'WARNING: backup in progress, stop backup',
3443
log_content)
3444
-
3445
- self.assertIn(
3446
- 'FROM pg_catalog.pg_backup_stop',
3447
- log_content)
+
+ if self.get_version(node) < 150000:
+ self.assertIn(
+ 'FROM pg_catalog.pg_stop_backup',
3448
+ log_content)
3449
+ else:
3450
3451
+ 'FROM pg_catalog.pg_backup_stop',
3452
3453
3454
3455
'setting its status to ERROR',
0 commit comments