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

Commit2c788b7

Browse files
committed
Fix del_instance function to receive options from tests
1 parent0edc937 commit2c788b7

File tree

1 file changed

+10
-8
lines changed
  • testgres/plugins/pg_probackup2/pg_probackup2

1 file changed

+10
-8
lines changed

‎testgres/plugins/pg_probackup2/pg_probackup2/app.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,16 @@ def set_backup(self, instance, backup_id=False,
189189

190190
returnself.run(cmd+options,old_binary=old_binary,expect_error=expect_error)
191191

192-
defdel_instance(self,instance,old_binary=False,expect_error=False):
193-
194-
returnself.run([
195-
'del-instance',
196-
'--instance={0}'.format(instance),
197-
],
198-
old_binary=old_binary,
199-
expect_error=expect_error
192+
defdel_instance(self,instance,options=None,old_binary=False,expect_error=False):
193+
ifoptions==None:
194+
options= []
195+
cmd= [
196+
'del-instance',
197+
'--instance={0}'.format(instance),
198+
]+options
199+
returnself.run(cmd,
200+
old_binary=old_binary,
201+
expect_error=expect_error
200202
)
201203

202204
defbackup_node(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp