[ 
https://issues.apache.org/jira/browse/GEODE-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15206720#comment-15206720
 ] 

ASF subversion and git services commented on GEODE-1096:
--------------------------------------------------------

Commit 57b00b12d4abcf59769171e333aa76d76e5bd0a0 in incubator-geode's branch 
refs/heads/develop from [~sboorlagadda]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=57b00b1 ]

GEODE-1109: MemoryThresholdsDUnitTest.testDistributedRegionClientPutRejection

 Fix for GEODE-1096 broke this DUnit in CI.
 Modified the test to set the testBytesUsed
 inorder go critical.


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

Reply via email to