Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2f5bfc6

Browse files
committed
Merge branch 'default-users' into multihost-catchup
2 parents 231c5da + 14080dd commit 2f5bfc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

testgres/node.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1687,19 +1687,21 @@ def __init__(self, test_path=None, nodes_to_cleanup=None, os_ops=LocalOperations
16871687

16881688
def make_empty(
16891689
self,
1690+
port=None,
16901691
base_dir=None):
16911692
real_base_dir = os.path.join(self.test_path, base_dir)
16921693
self.os_ops.rmdirs(real_base_dir, ignore_errors=True)
16931694
self.os_ops.makedirs(real_base_dir)
16941695

1695-
node = PostgresNode(base_dir=real_base_dir)
1696+
node = PostgresNode(port=port, base_dir=real_base_dir)
16961697
node.should_rm_dirs = True
16971698
self.nodes_to_cleanup.append(node)
16981699

16991700
return node
17001701

17011702
def make_simple(
17021703
self,
1704+
port=None,
17031705
base_dir=None,
17041706
set_replication=False,
17051707
ptrack_enable=False,

0 commit comments

Comments
 (0)