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

Commit1002f3c

Browse files
author
v.shepard
committed
PBCKP-405 add s3 option to run_pb if env var PROBACKUP_S3_TYPE_FULL_TEST set up
1 parent764680e commit1002f3c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎tests/helpers/ptrack_helpers.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def is_enterprise():
101101
)
102102
returnb'postgrespro.ru'inp.communicate()[0]
103103

104-
104+
105105
defis_nls_enabled():
106106
cmd= [os.environ['PG_CONFIG'],'--configure']
107107

@@ -536,7 +536,7 @@ def make_simple_node(
536536
node, {},'postgresql.conf', ['wal_keep_segments'])
537537

538538
returnnode
539-
539+
540540
defsimple_bootstrap(self,node,role)->None:
541541

542542
node.safe_psql(
@@ -935,6 +935,9 @@ def check_ptrack_clean(self, idx_dict, size):
935935
)
936936

937937
defrun_pb(self,command,asynchronous=False,gdb=False,old_binary=False,return_id=True,env=None):
938+
s3_type=os.environ['PROBACKUP_S3_TYPE_FULL_TEST']
939+
ifs3_type:
940+
command.append(f"s3={s3_type}")
938941
ifnotself.probackup_old_pathandold_binary:
939942
print('PGPROBACKUPBIN_OLD is not set')
940943
exit(1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp