Skip to content

Commit 5a8fb62

Browse files
shinfanmziccard
authored andcommitted
---
yaml --- r: 7351 b: refs/heads/tswast-patch-1 c: e9f247b h: refs/heads/master i: 7349: 89bf204 7347: de9f314 7343: 00570b5
1 parent b3649ac commit 5a8fb62

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: 05d39cca2fe49f4af203dbadf4741e448cbbd2a4
60+
refs/heads/tswast-patch-1: e9f247b5eb4dd0e171fe05d1c7a809135c4df606
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/gcloud-java-pubsub/src/main/java/com/google/cloud/pubsub/testing/LocalPubsubHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class LocalPubsubHelper {
7171
public LocalPubsubHelper() {
7272
port = LocalServiceHelper.findAvailablePort(DEFAULT_PORT);
7373
List<String> gcloudCommand = new ArrayList<>(Arrays.asList(GCLOUD_CMD_TEXT.split(" ")));
74-
gcloudCommand.add(GCLOUD_CMD_PORT_FLAG + port);
74+
gcloudCommand.add(GCLOUD_CMD_PORT_FLAG + "localhost:" + port);
7575
GCloudEmulatorRunner gcloudRunner =
7676
new GCloudEmulatorRunner(gcloudCommand, VERSION_PREFIX, MIN_VERSION);
7777
DownloadableEmulatorRunner downloadRunner =
@@ -89,7 +89,7 @@ public LocalPubsubHelper() {
8989
* @throws IOException
9090
*/
9191
public void start() throws IOException, InterruptedException {
92-
String blockUntilOutput = Integer.toString(port);
92+
String blockUntilOutput = "Server started, listening on " + port;
9393
serviceHelper.start(blockUntilOutput);
9494
}
9595

0 commit comments

Comments
 (0)