[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923714#comment-13923714
 ] 

Rakesh R commented on BOOKKEEPER-740:
-------------------------------------

Moved the auditorElector#shutdown to separate try/catch block, so it will be 
shutdown cleanly.

> AutoRecoveryMainTest#testAutoRecoverySessionLoss is failing
> -----------------------------------------------------------
>
>                 Key: BOOKKEEPER-740
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-740
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-auto-recovery
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>         Attachments: 0001-BOOKKEEPER-740.patch
>
>
> It seems the test case is failiing due to the following exception at join and 
> is skipping auditorElector.shutdown.
> {code}
> 2014-03-06 13:27:18,603 - WARN  - 
> [AutoRecoveryDeathWatcher-15007:AutoRecoveryMain@127] - Interrupted shutting 
> down auto recovery
> java.lang.InterruptedException
>       at java.lang.Object.wait(Native Method)
>       at java.lang.Thread.join(Thread.java:1186)
>       at java.lang.Thread.join(Thread.java:1239)
>       at 
> org.apache.bookkeeper.replication.AutoRecoveryMain.shutdown(AutoRecoveryMain.java:122)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to