File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ ENV(PYTHONWARNINGS="ignore")
16
16
ENV(YDB_DRIVER_BINARY ="ydb/apps/ydbd/ydbd")
17
17
ENV(YDB_TABLE_ENABLE_PREPARED_DDL =true)
18
18
ENV(YDB_USE_IN_MEMORY_PDISKS =true)
19
+ ENV(YDB_ALLOCATE_PGWIRE_PORT =true)
20
+ ENV(YDB_ALLOCATE_PGWIRE_PORT =true)
19
21
20
22
SIZE(MEDIUM)
21
23
Original file line number Diff line number Diff line change @@ -178,10 +178,12 @@ def __make_run_command(self):
178
178
"--grpc-port=%s" % self .grpc_port ,
179
179
"--mon-port=%d" % self .mon_port ,
180
180
"--ic-port=%d" % self .ic_port ,
181
- "--pgwire-port=%d" % self .pgwire_port ,
182
181
]
183
182
)
184
183
184
+ if os .environ .get ("YDB_ALLOCATE_PGWIRE_PORT" , "" ) == "true" :
185
+ command .append ("--pgwire-port=%d" % self .pgwire_port )
186
+
185
187
if self .__encryption_key is not None :
186
188
command .extend (["--key-file" , self .__encryption_key ])
187
189
You can’t perform that action at this time.
0 commit comments