Skip to content

Commit 16b5244

Browse files
Expose gRPC endpoint
1 parent 1714560 commit 16b5244

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/gcloud/src/main/java/org/testcontainers/containers/BigQueryEmulatorContainer.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ public String getEmulatorHttpEndpoint() {
3333
return String.format("http://%s:%d", getHost(), getMappedPort(HTTP_PORT));
3434
}
3535

36+
public String getEmulatorGrpcEndpoint() {
37+
return String.format("http://%s:%d", getHost(), getMappedPort(GRPC_PORT));
38+
}
39+
3640
public String getProjectId() {
3741
return PROJECT_ID;
3842
}

0 commit comments

Comments
 (0)