Skip to content

Commit 11d4490

Browse files
shinfanmziccard
authored andcommitted
---
yaml --- r: 3413 b: refs/heads/master c: e9f247b h: refs/heads/master i: 3411: efa7604
1 parent a25f4e9 commit 11d4490

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 05d39cca2fe49f4af203dbadf4741e448cbbd2a4
2+
refs/heads/master: e9f247b5eb4dd0e171fe05d1c7a809135c4df606
33
refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44
refs/heads/gh-pages: 4e0561bb4504bf647db669a14417b2b2c87ba45d
55
refs/heads/pubsub-alpha: 1a0e970f265af871e02274085b9662b3fe29058b

trunk/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)