[ https://issues.apache.org/jira/browse/BOOKKEEPER-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006567#comment-16006567 ]
ASF GitHub Bot commented on BOOKKEEPER-1051: -------------------------------------------- Github user jvrao commented on the issue: https://github.com/apache/bookkeeper/pull/141 Ok so you are talking about your own production issue. But I don't believe it is right thing to change production code to speed up testing. I believe we need more elaborate fix to take care of junit tests without affecting production code path. @eolivelli @merlimat > Fast shutdown for GarbageCollectorThread > ---------------------------------------- > > Key: BOOKKEEPER-1051 > URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1051 > Project: Bookkeeper > Issue Type: Improvement > Reporter: Matteo Merli > Assignee: Matteo Merli > Priority: Minor > Fix For: 4.5.0 > > > Several unit tests are taking very long time to complete (eg: > {{BookieLedgerIndexTest}} taking ~10 minutes). > The reason is that these tests are playing with the ZK quorum shutting it > down and after the test succeeds, the shutdown phase is taking long time, > since we try to do graceful shutdown with 1min wait time. > I think is better to interrupt immediately the garbage collector thread when > shutting down the bookie. -- This message was sent by Atlassian JIRA (v6.3.15#6346)