File tree Expand file tree Collapse file tree
trunk/gcloud-java-pubsub/src/main/java/com/google/cloud/pubsub/testing Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- refs/heads/master: 05d39cca2fe49f4af203dbadf4741e448cbbd2a4
2+ refs/heads/master: e9f247b5eb4dd0e171fe05d1c7a809135c4df606
33refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44refs/heads/gh-pages: 4e0561bb4504bf647db669a14417b2b2c87ba45d
55refs/heads/pubsub-alpha: 1a0e970f265af871e02274085b9662b3fe29058b
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments