Permalink
Browse files

FIx cluster port advertizing

Change-Id: Id867394ae820c81f2da3164d60369cadb468b0ff
Reviewed-on: http://review.couchbase.org/18900
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  • Loading branch information...
1 parent 9644845 commit 6e59ef235fc2f247c4345a817287a37d1d728d2b @avsej avsej committed with trondn Jul 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/couchbase/mock/CouchbaseMock.java
View
2 src/main/java/org/couchbase/mock/CouchbaseMock.java
@@ -156,9 +156,9 @@ private void dispatchMockCommand(String packet) {
public void run() {
boolean closed = false;
String packet;
- String http = "" + mock.getHttpPort() + '\0';
try {
mock.waitForStartup();
+ String http = "" + mock.getHttpPort() + '\0';
output.write(http.getBytes());
output.flush();
} catch (InterruptedException ex) {

0 comments on commit 6e59ef2

Please sign in to comment.