mirror of https://github.com/apache/activemq.git
AMQ-4007: Fixed default values of system usage for GB values to use 1024 multiplier instead of 1000.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379922 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5abbfc2200
commit
15b27399e8
|
@ -77,8 +77,8 @@ public class BrokerServiceTest extends TestCase {
|
||||||
public void testSystemUsage()
|
public void testSystemUsage()
|
||||||
{
|
{
|
||||||
BrokerService service = new BrokerService();
|
BrokerService service = new BrokerService();
|
||||||
assertEquals( service.getSystemUsage().getMemoryUsage().getLimit(), 1024 * 1024 * 64 );
|
assertEquals( 1024 * 1024 * 64, service.getSystemUsage().getMemoryUsage().getLimit() );
|
||||||
assertEquals( service.getSystemUsage().getTempUsage().getLimit(), 1024L * 1024 * 1000 * 50 );
|
assertEquals( 1024L * 1024 * 1024 * 50, service.getSystemUsage().getTempUsage().getLimit() );
|
||||||
assertEquals( service.getSystemUsage().getStoreUsage().getLimit(), 1024L * 1024 * 1000 * 100 );
|
assertEquals( 1024L * 1024 * 1024 * 100, service.getSystemUsage().getStoreUsage().getLimit() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue