You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Sai Boorlagadda (JIRA)" <ji...@apache.org> on 2016/03/14 22:09:33 UTC
[jira] [Updated] (GEODE-1096) HeapMemoryMonitor to consider
testBytesUsedForThresholdSet (if it is set) to update state and send event.
[ https://issues.apache.org/jira/browse/GEODE-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sai Boorlagadda updated GEODE-1096:
-----------------------------------
Description:
testBytesUsedForThresholdSet is used by tests to instrument fake heap memory usage by overwritting JVM reported heap usage.
But some tests fail as `updateStateAndSendEvent()` ignores the testBytesUsedForThresholdSet and invokes getUsedBytes() in-order to check if it has to send critical event based on bytes reported by getUsedBytes().
> HeapMemoryMonitor to consider testBytesUsedForThresholdSet (if it is set) to update state and send event.
> ---------------------------------------------------------------------------------------------------------
>
> Key: GEODE-1096
> URL: https://issues.apache.org/jira/browse/GEODE-1096
> Project: Geode
> Issue Type: Bug
> Components: regions
> Reporter: Sai Boorlagadda
> Assignee: Sai Boorlagadda
>
> testBytesUsedForThresholdSet is used by tests to instrument fake heap memory usage by overwritting JVM reported heap usage.
> But some tests fail as `updateStateAndSendEvent()` ignores the testBytesUsedForThresholdSet and invokes getUsedBytes() in-order to check if it has to send critical event based on bytes reported by getUsedBytes().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)