[
https://issues.apache.org/jira/browse/BOOKKEEPER-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15226653#comment-15226653
]
Arun M. Krishnakumar commented on BOOKKEEPER-911:
-------------------------------------------------
Thanks [~mmerli], [~rakeshr]. I was going along the lines of doing something
similar to {{AutoRecoveryMainTest}} and had initiated the {{ReplicationWorker}}
using the {{startAutoRecovery}} of the daemon. That daemon shuts down the
{{ReplicationWorker}} on Zookeeper session-expiry, but the second case of
read-only-bookie transition will not be easy to accomplish. But it looks like
the pull of [~mmerli] does what you mention above, so I'll stop working on the
change.
> Fix TestReplicationWorker tests in master
> -----------------------------------------
>
> Key: BOOKKEEPER-911
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-911
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-auto-recovery
> Affects Versions: 4.3.2
> Reporter: Arun M. Krishnakumar
> Assignee: Arun M. Krishnakumar
> Labels: tests
> Fix For: 4.4.0
>
>
> Currently we have the following test failures in master branch:
> Results :
> Failed tests:
> testRWZKSessionLost[0](org.apache.bookkeeper.replication.TestReplicationWorker):
> Replication worker should have shut down
>
> testRWZKSessionLost[1](org.apache.bookkeeper.replication.TestReplicationWorker):
> Replication worker should have shut down
>
> testRWZKSessionLost[2](org.apache.bookkeeper.replication.TestReplicationWorker):
> Replication worker should have shut down
> Tests in error:
>
> testRWShutdownOnLocalBookieReadonlyTransition[0](org.apache.bookkeeper.replication.TestReplicationWorker):
> test timed out after 20000 milliseconds
>
> testRWShutdownOnLocalBookieReadonlyTransition[1](org.apache.bookkeeper.replication.TestReplicationWorker):
> test timed out after 20000 milliseconds
>
> testRWShutdownOnLocalBookieReadonlyTransition[2](org.apache.bookkeeper.replication.TestReplicationWorker):
> test timed out after 20000 milliseconds
> Tests run: 654, Failures: 3, Errors: 3, Skipped: 0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)