Pulled the first version of the BulletinBoardClientIntegretionTest file
parent
311d1e8e8e
commit
687c2c6d7e
|
@ -102,7 +102,7 @@ public class BulletinBoardClientIntegrationTest {
|
|||
private ReadCallback readCallback;
|
||||
|
||||
private static String PROP_GETTY_URL = "gretty.httpBaseURI";
|
||||
private static String DEFAULT_BASE_URL = "http://localhost:3306";
|
||||
private static String DEFAULT_BASE_URL = "http://localhost:8081";
|
||||
private static String BASE_URL = System.getProperty(PROP_GETTY_URL, DEFAULT_BASE_URL);
|
||||
|
||||
@Before
|
||||
|
@ -114,7 +114,7 @@ public class BulletinBoardClientIntegrationTest {
|
|||
testDB.add(BASE_URL);
|
||||
|
||||
bulletinBoardClient.init(BulletinBoardClientParams.newBuilder()
|
||||
.addBulletinBoardAddress("http://localhost:3306")
|
||||
.addBulletinBoardAddress("http://localhost:8081")
|
||||
.setMinRedundancy((float) 1.0)
|
||||
.build());
|
||||
|
||||
|
@ -163,8 +163,6 @@ public class BulletinBoardClientIntegrationTest {
|
|||
|
||||
messageID = bulletinBoardClient.postMessage(msg,postCallback);
|
||||
|
||||
System.out.println(messageID.toByteArray());
|
||||
|
||||
try {
|
||||
jobSemaphore.acquire();
|
||||
} catch (InterruptedException e) {
|
||||
|
@ -206,7 +204,6 @@ public class BulletinBoardClientIntegrationTest {
|
|||
System.err.println(t.getMessage());
|
||||
}
|
||||
if (thrown.size() > 0) {
|
||||
System.out.println(thrown.size());
|
||||
assert false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue