[
https://issues.apache.org/jira/browse/BOOKKEEPER-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Kelly updated BOOKKEEPER-513:
----------------------------------
Attachment: 0001-BOOKKEEPER-513-TestMessageFilter-fails-periodically.patch
I've modified SimpleHChannelManager to retry subscriptions up to 5 times if it
gets a TOPIC_BUSY. This seems to resolve the issue, and the fix is entirely
confined to the SimpleHChannel implementation. For TestBackwardsCompat, I've
added delays, as we cannot make any modifications to 4.1.0 & 4.0.0
> TestMessageFilter fails periodically
> ------------------------------------
>
> Key: BOOKKEEPER-513
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-513
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Ivan Kelly
> Fix For: 4.2.0
>
> Attachments:
> 0001-BOOKKEEPER-513-TestMessageFilter-fails-periodically.patch,
> 0001-BOOKKEEPER-513-TestMessageFilter-fails-periodically.patch,
> TEST-org.apache.hedwig.server.filter.TestMessageFilter.xml,
> TEST-org.apache.hedwig.server.persistence.MessageBoundedPersistenceTest.xml
>
>
> Running org.apache.hedwig.server.filter.TestMessageFilter
> Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 6.779 sec <<<
> FAILURE!
> Results :
> Tests in error:
>
> testChangeSubscriptionPreferences(org.apache.hedwig.server.filter.TestMessageFilter):
> Server responded with a status code of: TOPIC_BUSY
>
> testChangeSubscriptionPreferencesForClientFilter(org.apache.hedwig.server.filter.TestMessageFilter):
> Server responded with a status code of: TOPIC_BUSY
--
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