[
https://issues.apache.org/jira/browse/GEODE-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15198213#comment-15198213
]
ASF subversion and git services commented on GEODE-1096:
--------------------------------------------------------
Commit d8f28d23ebcae788a9390fc428310c37a9ef7744 in incubator-geode's branch
refs/heads/develop from [~sboorlagadda]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=d8f28d2 ]
GEODE-1096: HeapMemoryMonitor to consider testBytesUsedForThresholdSet
HeapMemoryMonitor facilitates to instrument used bytes for testing,
but updateStateAndSendEvent ignores the instrudmented value.
Fix is to consider testBytesUsedForThresholdSet (if it is set)
while sending a new memory event.
> 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)