[ 
https://issues.apache.org/jira/browse/AMQ-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Bish resolved AMQ-4342.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.9.0

Patch applied, thanks!
                
> MemoryUsageCleanupTest fails intermittently
> -------------------------------------------
>
>                 Key: AMQ-4342
>                 URL: https://issues.apache.org/jira/browse/AMQ-4342
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Test Cases
>            Reporter: Kevin Earls
>            Priority: Minor
>             Fix For: 5.9.0
>
>         Attachments: AMQ-4342.patch
>
>
> This test fails intermittently at a point where it expects 
> BrokerView.getMemoryPercentUsage() to return 0, but it returns 1.  The 
> problem here is that getMemoryPercentageUsage returns an int, and that number 
> is truncated when calculated.
> I did some debugging and found when the test fails the actual usage is about 
> 0.85%, and when it fails it's only 1.02%.  I'll attach a patch that makes the 
> assertion here slightly more lenient to accommodate for this.

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

Reply via email to