Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit e685462

Browse files
committed
set the port in emulator class
1 parent 66cecdc commit e685462

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • google-cloud-bigtable-emulator/src/main/java/com/google/cloud/bigtable/emulator/v2

google-cloud-bigtable-emulator/src/main/java/com/google/cloud/bigtable/emulator/v2/Emulator.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ public synchronized void start() throws IOException, TimeoutException, Interrupt
6262
controller.start();
6363
}
6464

65+
public synchronized void start(int port)
66+
throws IOException, TimeoutException, InterruptedException {
67+
controller.start(port);
68+
}
69+
6570
/** Stops the emulator process. */
6671
public synchronized void stop() {
6772
controller.stop();

0 commit comments

Comments
 (0)