[ https://issues.apache.org/jira/browse/BOOKKEEPER-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543644#comment-13543644 ]
Sijie Guo commented on BOOKKEEPER-503: -------------------------------------- I had run 'while [ 0 -lt 10 ]; do mvn test -Dtest=TestThrottlingDelivery; echo '-----'; done' for hours. it doesn't reproduce the issue described as above. I think it is fixed after fixing BOOKKEEPER-507. so is it OK to close it? it could be reopened if it reproduced. > 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