geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bschucha...@apache.org
Subject [05/50] [abbrv] incubator-geode git commit: GEODE-367: wait longer for assertion
Date Thu, 05 Nov 2015 20:35:42 GMT
GEODE-367: wait longer for assertion

Also fixed assertion messages.


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

Branch: refs/heads/feature/GEODE-77
Commit: d08e51d2eaa391fcda11cd18ee4413aa5fe6b80d
Parents: 0c95100
Author: Darrel Schneider <dschneider@pivotal.io>
Authored: Mon Oct 26 17:26:39 2015 -0700
Committer: Darrel Schneider <dschneider@pivotal.io>
Committed: Mon Oct 26 17:26:39 2015 -0700

----------------------------------------------------------------------
 .../cache/management/MemoryThresholdsOffHeapDUnitTest.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/d08e51d2/gemfire-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsOffHeapDUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsOffHeapDUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsOffHeapDUnitTest.java
index 1b9089f..8faa03c 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsOffHeapDUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsOffHeapDUnitTest.java
@@ -1199,13 +1199,13 @@ public class MemoryThresholdsOffHeapDUnitTest extends ClientServerTestCase
{
         getCache().getLoggerI18n().fine(removeExpectedExString);
         WaitCriterion wc = new WaitCriterion() {
           public String description() {
-            return "verify critical state";
+            return "expected region " + r + " to set memoryThresholdReached";
           }
           public boolean done() {
             return r.memoryThresholdReached.get();
           }
         };
-        waitForCriterion(wc, 3000, 100, true);
+        waitForCriterion(wc, 30*1000, 10, true);
         { 
           Integer k = new Integer(2);
           assertEquals(k.toString(), r.get(k));
@@ -1220,13 +1220,13 @@ public class MemoryThresholdsOffHeapDUnitTest extends ClientServerTestCase
{
         getCache().getLoggerI18n().fine(removeExpectedBelow);
         wc = new WaitCriterion() {
           public String description() {
-            return "verify critical state";
+            return "expected region " + r + " to unset memoryThresholdReached";
           }
           public boolean done() {
             return !r.memoryThresholdReached.get();
           }
         };
-        waitForCriterion(wc, 3000, 100, true);
+        waitForCriterion(wc, 30*1000, 10, true);
         
         {
           Integer k = new Integer(3);


Mime
View raw message