Skip to content

Commit 09cd0c5

Browse files
committed
add expose port and fix style
1 parent b8ed233 commit 09cd0c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/common/src/main/java/tech/ydb/test/integration/docker/YdbDockerContainer.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public YdbDockerContainer(YdbEnvironment env, PortsGenerator portGenerator) {
4646
public void init() {
4747
addExposedPort(grpcPort);
4848
addExposedPort(grpcsPort);
49+
addExposedPort(kafkaPort);
4950

5051
withEnv("YDB_KAFKA_PROXY_PORT", String.valueOf(kafkaPort));
5152
if (!env.useDockerIsolation()) {
@@ -91,7 +92,7 @@ public EndpointRecord secureEndpoint() {
9192
return new EndpointRecord(getHost(), getMappedPort(grpcsPort));
9293
}
9394

94-
public String nonSecureKafkaEndpoint(){
95+
public String nonSecureKafkaEndpoint() {
9596
return getHost() + ":" + getMappedPort(kafkaPort);
9697
}
9798

0 commit comments

Comments
 (0)