Wait in BookieClietTest does not wait enough in some runs
---------------------------------------------------------
Key: BOOKKEEPER-46
URL: https://issues.apache.org/jira/browse/BOOKKEEPER-46
Project: Bookkeeper
Issue Type: Bug
Reporter: Flavio Junqueira
In testWriteGaps, the following excerpt of code can generate an NPE:
{noformat}
synchronized (arc) {
bc.readEntry(addr, 1, 1, recb, arc);
arc.wait(1000);
assertEquals(0, arc.rc);
assertEquals(1, arc.entry.getInt());
}
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira