Skip to content

Commit 36f0cf5

Browse files
committed
optin for pgwire port
1 parent 1159d25 commit 36f0cf5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ydb/tests/library/harness/kikimr_runner.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,12 @@ def __make_run_command(self):
178178
"--grpc-port=%s" % self.grpc_port,
179179
"--mon-port=%d" % self.mon_port,
180180
"--ic-port=%d" % self.ic_port,
181-
"--pgwire-port=%d" % self.pgwire_port,
182181
]
183182
)
184183

184+
if os.environ.get("YDB_ALLOCATE_PGWIRE_PORT", "") == "1":
185+
command.append("--pgwire-port=%d" % self.pgwire_port)
186+
185187
if self.__encryption_key is not None:
186188
command.extend(["--key-file", self.__encryption_key])
187189

0 commit comments

Comments
 (0)