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

Commit9e2928e

Browse files
egarbuzSofia Kopikova
authored and
Sofia Kopikova
committed
Add check backup-source for testing pg_probackup3
1 parent95e6ad0 commit9e2928e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ def __init__(self):
172172
self.ptrack=test_env.get('PG_PROBACKUP_PTRACK',None)=='ON'andself.pg_config_version>=110000
173173
self.wal_tree_enabled=test_env.get('PG_PROBACKUP_WAL_TREE_ENABLED',None)=='ON'
174174

175+
self.bckp_source=test_env.get('PG_PROBACKUP_SOURCE','pro').lower()
176+
ifself.bckp_sourcenotin ('base','direct','pro'):
177+
raiseException("Wrong PG_PROBACKUP_SOURCE value. Available options: base|direct|pro")
178+
175179
self.paranoia=test_env.get('PG_PROBACKUP_PARANOIA',None)=='ON'
176180
env_compress=test_env.get('ARCHIVE_COMPRESSION',None)
177181
ifenv_compress:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp