BookieClientTest fails intermittantly
-------------------------------------
Key: BOOKKEEPER-40
URL: https://issues.apache.org/jira/browse/BOOKKEEPER-40
Project: Bookkeeper
Issue Type: Bug
Reporter: Ivan Kelly
To repro:
true; while [ $? = 0 ]; do mvn test -Dtest=BookieClientTest; done
Problem seems to be
{code}
BookieClient bc = new BookieClient(channelFactory, executor);
ChannelBuffer bb;
bb = createByteBuffer(1, 1, 1);
bc.addEntry(addr, 1, passwd, 1, bb, wrcb, null);
synchronized (arc) {
bc.readEntry(addr, 1, 1, recb, arc);
{code}
The test doesn't wait for addEntry to complete before doing a read. It should
be simple to fix.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira