Skip to content

Commit 6e1d5fc

Browse files
committed
optin for pgwire port
1 parent 1159d25 commit 6e1d5fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ydb/tests/library/harness/kikimr_runner.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,11 @@ 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
]
183-
)
182+
)
183+
184+
if os.environ.get("YDB_ALLOCATE_PGWIRE_PORT", "") == "1":
185+
command.append("--pgwire-port=%d" % self.pgwire_port)
184186

185187
if self.__encryption_key is not None:
186188
command.extend(["--key-file", self.__encryption_key])

0 commit comments

Comments
 (0)