geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sai_boorlaga...@apache.org
Subject incubator-geode git commit: fixed the DUnit failure due to previous fix
Date Mon, 21 Mar 2016 20:00:57 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-1109 [created] 0114d03a2


fixed the DUnit failure due to previous fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/0114d03a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/0114d03a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/0114d03a

Branch: refs/heads/feature/GEODE-1109
Commit: 0114d03a261ef6152294f2b88557de4f28a5746e
Parents: 4d166a4
Author: Sai Boorlagadda <sboorlagadda@pivotal.io>
Authored: Mon Mar 21 13:00:41 2016 -0700
Committer: Sai Boorlagadda <sboorlagadda@pivotal.io>
Committed: Mon Mar 21 13:00:41 2016 -0700

----------------------------------------------------------------------
 .../gemfire/cache/management/MemoryThresholdsDUnitTest.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/0114d03a/geode-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsDUnitTest.java
b/geode-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsDUnitTest.java
index 17529b8..bff9dd9 100644
--- a/geode-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsDUnitTest.java
+++ b/geode-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsDUnitTest.java
@@ -176,7 +176,8 @@ public class MemoryThresholdsDUnitTest extends ClientServerTestCase {
         irm.setCriticalHeapPercentage(90f);
         
         getCache().getLoggerI18n().fine(addExpectedExString);
-        irm.getHeapMonitor().updateStateAndSendEvent(950);
+        HeapMemoryMonitor.setTestBytesUsedForThresholdSet(950);
+        irm.getHeapMonitor().updateStateAndSendEvent();
         getCache().getLoggerI18n().fine(removeExpectedExString);
         return null;
       }


Mime
View raw message