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

Commit2d30704

Browse files
author
v.shepard
committed
ce PBCKP-152
1 parent2fb42ec commit2d30704

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎testgres/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def call_initdb(initdb_dir, log=None):
3131
_params= [get_bin_path("initdb"),"-D",initdb_dir,"-N"]
3232

3333
# DDD return executions code
34-
execute_utility(_params+ (paramsor []),log,hostname=hostname)
34+
execute_utility(_params+ (paramsor []),log,hostname=hostname,ssh_key=ssh_key)
3535
exceptExecUtilExceptionase:
3636
raise_from(InitNodeException("Failed to run initdb"),e)
3737

‎testgres/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def init(self, initdb_params=None, hostname='localhost', ssh_key=None, **kwargs)
436436
# initialize this PostgreSQL node
437437
cached_initdb(data_dir=self.data_dir,
438438
logfile=self.utils_log_file,
439-
hostname=self.hostname,
439+
hostname=hostname,
440440
ssh_key=ssh_key,
441441
params=initdb_params)
442442

‎testgres/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def execute_utility(args, logfile=None, hostname='localhost', ssh_key=None):
7070

7171
ifhostname!='localhost':
7272
conn=Connection(
73-
hostname,
73+
"enterprise-14",
7474
connect_kwargs={
7575
# XXX pass SSH key path
7676
"key_filename":"/mnt/ssh/id_rsa",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp