geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bschucha...@apache.org
Subject incubator-geode git commit: GEODE-77 fixed a test failure
Date Wed, 09 Sep 2015 23:47:37 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-77 36b81da23 -> 1553ddcd0


GEODE-77 fixed a test failure

This test was converted to use a locator instead of mcast discovery but
that increased the number of resource manager profiles, causing test
verification to fail.


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

Branch: refs/heads/feature/GEODE-77
Commit: 1553ddcd0f45d8859c2c6f0329e3d1516a388796
Parents: 36b81da
Author: Bruce Schuchardt <bschuchardt@pivotal.io>
Authored: Wed Sep 9 16:45:36 2015 -0700
Committer: Bruce Schuchardt <bschuchardt@pivotal.io>
Committed: Wed Sep 9 16:47:03 2015 -0700

----------------------------------------------------------------------
 .../cache/management/MemoryThresholdsDUnitTest.java       | 10 +++++-----
 .../management/MemoryThresholdsOffHeapDUnitTest.java      | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/1553ddcd/gemfire-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsDUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsDUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsDUnitTest.java
index 65046e9..6e594c5 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsDUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/management/MemoryThresholdsDUnitTest.java
@@ -494,8 +494,8 @@ public class MemoryThresholdsDUnitTest extends BridgeTestCase {
     ServerPorts ports2 = startCacheServer(server2, 0f, 0f,
         regionName, false/*createPR*/, false/*notifyBySubscription*/, 0);
 
-    verifyProfiles(server1, 1);
-    verifyProfiles(server2, 1);
+    verifyProfiles(server1, 2);
+    verifyProfiles(server2, 2);
 
     server2.invoke(new SerializableCallable() {
       public Object call() throws Exception {
@@ -504,13 +504,13 @@ public class MemoryThresholdsDUnitTest extends BridgeTestCase {
       }
     });
 
-    verifyProfiles(server1, 0);
+    verifyProfiles(server1, 1);
 
     startCacheServer(server3, 0f, 0f,
         regionName, false/*createPR*/, false/*notifyBySubscription*/, 0);
 
-    verifyProfiles(server1, 1);
-    verifyProfiles(server3, 1);
+    verifyProfiles(server1, 2);
+    verifyProfiles(server3, 2);
   }
 
   public void testPR_RemotePutRejectionLocalDestroy() throws Exception {

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/1553ddcd/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 4ab1a4e..dd1e7e9 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
@@ -1269,8 +1269,8 @@ public class MemoryThresholdsOffHeapDUnitTest extends BridgeTestCase
{
     startCacheServer(server2, port2, 0f, 0f,
         regionName, false/*createPR*/, false/*notifyBySubscription*/, 0);
 
-    verifyProfiles(server1, 1);
-    verifyProfiles(server2, 1);
+    verifyProfiles(server1, 2);
+    verifyProfiles(server2, 2);
 
     server2.invoke(new SerializableCallable() {
       public Object call() throws Exception {
@@ -1279,13 +1279,13 @@ public class MemoryThresholdsOffHeapDUnitTest extends BridgeTestCase
{
       }
     });
 
-    verifyProfiles(server1, 0);
+    verifyProfiles(server1, 1);
 
     startCacheServer(server3, port3, 0f, 0f,
         regionName, false/*createPR*/, false/*notifyBySubscription*/, 0);
 
-    verifyProfiles(server1, 1);
-    verifyProfiles(server3, 1);
+    verifyProfiles(server1, 2);
+    verifyProfiles(server3, 2);
   }
   
   public void testPRClientPutRejection() throws Exception {


Mime
View raw message