[
https://issues.apache.org/jira/browse/BOOKKEEPER-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504629#comment-13504629
]
Ivan Kelly commented on BOOKKEEPER-477:
---------------------------------------
We have a method, Bookie#isAlive(). This is what the patch checks, in a loop.
> In ReadOnlyBookieTest, we should wait for the bookie to die before asserting
> on it
> ----------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-477
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-477
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Ivan Kelly
> Assignee: Ivan Kelly
> Fix For: 4.2.0
>
> Attachments:
> 0002-ReadOnlyBookieTest-Give-the-bookie-a-chance-to-die.patch
>
>
> Right now we assert immediately, so the bookie thread has no chance to die.
> We should only assert after giving it a chance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira