Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita8ee334

Browse files
committed
[PBCKP-235] fix one test for <15.0
1 parenteaf3b14 commita8ee334

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎tests/backup.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3441,10 +3441,15 @@ def test_backup_atexit(self):
34413441
self.assertIn(
34423442
'WARNING: backup in progress, stop backup',
34433443
log_content)
3444-
3445-
self.assertIn(
3446-
'FROM pg_catalog.pg_backup_stop',
3447-
log_content)
3444+
3445+
ifself.get_version(node)<150000:
3446+
self.assertIn(
3447+
'FROM pg_catalog.pg_stop_backup',
3448+
log_content)
3449+
else:
3450+
self.assertIn(
3451+
'FROM pg_catalog.pg_backup_stop',
3452+
log_content)
34483453

34493454
self.assertIn(
34503455
'setting its status to ERROR',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp