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

Commit7049fa7

Browse files
committed
Commit improvements
1 parent2bf186a commit7049fa7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎testgres/performance_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from .plugins.pg_probackup2.pg_probackup2.tests.basic_testimportProbackupTest
22

3+
34
classPerformanceTest(ProbackupTest):
45

56
deftest_full_backup_perf_basic(self):

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def __init__(self, test_class: unittest.TestCase,
5959
self.execution_time=execution_time
6060

6161
defrun(self,command,gdb=False,old_binary=False,return_id=True,env=None,
62-
skip_log_directory=False,expect_error=False,use_backup_dir=True,execution_time=False):
62+
skip_log_directory=False,expect_error=False,use_backup_dir=True):
6363
"""
6464
Run pg_probackup
6565
backup_dir: target directory for making backup
@@ -114,7 +114,7 @@ def run(self, command, gdb=False, old_binary=False, return_id=True, env=None,
114114
cmdline= ['gdbserver']+ ['localhost:'+str(gdb_port)]+cmdline
115115
print("pg_probackup gdb suspended, waiting gdb connection on localhost:{0}".format(gdb_port))
116116

117-
ifexecution_time:
117+
ifself.execution_time:
118118
start_time=time.time()
119119
self.test_class.output=subprocess.check_output(
120120
cmdline,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp