ivankelly closed pull request #646: Increase timeouts in
TestDisableEnsembleChange
URL: https://github.com/apache/bookkeeper/pull/646
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/TestDisableEnsembleChange.java
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/TestDisableEnsembleChange.java
index 2627016bf..9b26ab13b 100644
---
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/TestDisableEnsembleChange.java
+++
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/TestDisableEnsembleChange.java
@@ -206,7 +206,7 @@ public void addComplete(int rc, LedgerHandle lh, long
entryId, Object ctx) {
bsConfs.add(killedConf);
bs.add(startBookie(killedConf));
assertTrue("Add entry operation should complete at this point.",
- addLatch.await(1000, TimeUnit.MILLISECONDS));
+ addLatch.await(10000, TimeUnit.MILLISECONDS));
assertEquals(res.get(), BKException.Code.OK);
}
@@ -270,7 +270,7 @@ public void addComplete(int rc, LedgerHandle lh, long
entryId, Object ctx) {
// wakeup the sleep bookie
wakeupLatch.countDown();
assertTrue("Add entry operation should complete at this point.",
- addLatch.await(1000, TimeUnit.MILLISECONDS));
+ addLatch.await(10000, TimeUnit.MILLISECONDS));
assertEquals(res.get(), BKException.Code.OK);
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services