geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbawas...@apache.org
Subject incubator-geode git commit: GEODE-445: CI failure: OutOfOffHeapMemoryDUnitTest.testOtherMembersSeeOutOfOffHeapMemoryMemberDisconnects
Date Tue, 02 Feb 2016 19:32:08 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop 6d6f62606 -> 11c3f933e


GEODE-445: CI failure: OutOfOffHeapMemoryDUnitTest.testOtherMembersSeeOutOfOffHeapMemoryMemberDisconnects

Since some tests may have created 8 vms, adjusted the test to work with them,
rather than asserting that the vmCount is 4,


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

Branch: refs/heads/develop
Commit: 11c3f933e0f81d09b9b547c96bc0ad43d08bfcff
Parents: 6d6f626
Author: Swapnil Bawaskar <sbawaskar@pivotal.io>
Authored: Mon Feb 1 15:06:31 2016 -0800
Committer: Swapnil Bawaskar <sbawaskar@pivotal.io>
Committed: Tue Feb 2 11:31:23 2016 -0800

----------------------------------------------------------------------
 .../gemfire/internal/offheap/OutOfOffHeapMemoryDUnitTest.java   | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/11c3f933/gemfire-core/src/test/java/com/gemstone/gemfire/internal/offheap/OutOfOffHeapMemoryDUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/offheap/OutOfOffHeapMemoryDUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/offheap/OutOfOffHeapMemoryDUnitTest.java
index 77814b0..bb6b8e0 100755
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/offheap/OutOfOffHeapMemoryDUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/offheap/OutOfOffHeapMemoryDUnitTest.java
@@ -226,7 +226,6 @@ public class OutOfOffHeapMemoryDUnitTest extends CacheTestCase {
   
   public void testOtherMembersSeeOutOfOffHeapMemoryMemberDisconnects() {
     final int vmCount = Host.getHost(0).getVMCount();
-    assertEquals(4, vmCount);
 
     final String name = getRegionName();
     final RegionShortcut shortcut = getRegionShortcut();
@@ -239,7 +238,7 @@ public class OutOfOffHeapMemoryDUnitTest extends CacheTestCase {
       }
     });
     
-    // create off-heap region in all 4 members
+    // create off-heap region in all members
     for (int i = 0; i < vmCount; i++) {
       Host.getHost(0).getVM(i).invoke(new SerializableRunnable() {
         public void run() {
@@ -252,7 +251,7 @@ public class OutOfOffHeapMemoryDUnitTest extends CacheTestCase {
       });
     }
     
-    // make sure there are 5 members total
+    // make sure there are vmCount+1 members total
     for (int i = 0; i < vmCount; i++) {
       Host.getHost(0).getVM(i).invoke(new SerializableRunnable() {
         public void run() {


Mime
View raw message