You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Ivan Kelly (JIRA)" <ji...@apache.org> on 2012/12/20 19:35:12 UTC

[jira] [Commented] (BOOKKEEPER-503) The test case of TestThrottlingDelivery#testServerSideThrottle failed sometimes

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

Ivan Kelly commented on BOOKKEEPER-503:
---------------------------------------

I had a quick look at this. I think it's something to do with BOOKKEEPER-507.
                
> The test case of TestThrottlingDelivery#testServerSideThrottle failed sometimes
> -------------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-503
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-503
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: hedwig-server
>            Reporter: Jiannan Wang
>             Fix For: 4.2.0
>
>
> Running follow script in hedwig-server project
> {code:java}
> while mvn test -Dtest=TestThrottlingDelivery#testServerSideThrottle; do echo .; done
> {code}
> We may get assertion failure:
> {code:java}
> testServerSideThrottle[1](org.apache.hedwig.server.delivery.TestThrottlingDelivery) Time elapsed: 3.314 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Received more messages than throttle value 5
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertFalse(Assert.java:34)
> at org.apache.hedwig.server.delivery.TestThrottlingDelivery.throttleX(TestThrottlingDelivery.java:149)
> at org.apache.hedwig.server.delivery.TestThrottlingDelivery.testServerSideThrottle(TestThrottlingDelivery.java:216)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}

--
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