You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2018/11/27 20:44:55 UTC

[geode] branch develop updated: GEODE-6046 - Java memory allocation issue JDK-8207200 (#2876)

This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new a6bacbd  GEODE-6046 - Java memory allocation issue JDK-8207200 (#2876)
a6bacbd is described below

commit a6bacbdfee7329b70dec19ca637ed5bb6d71e568
Author: Robert Houghton <rh...@pivotal.io>
AuthorDate: Tue Nov 27 12:44:46 2018 -0800

    GEODE-6046 - Java memory allocation issue JDK-8207200 (#2876)
    
    Java MemoryUsage object has a new exception in Java9+ that is not fixed
    until Java 12. Add an ignore to the log checker to ignore the suspect
    string.
---
 .../org/apache/geode/cache/lucene/LuceneIndexDestroyDUnitTest.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/geode-lucene/src/distributedTest/java/org/apache/geode/cache/lucene/LuceneIndexDestroyDUnitTest.java b/geode-lucene/src/distributedTest/java/org/apache/geode/cache/lucene/LuceneIndexDestroyDUnitTest.java
index 9370db5..0d86823 100644
--- a/geode-lucene/src/distributedTest/java/org/apache/geode/cache/lucene/LuceneIndexDestroyDUnitTest.java
+++ b/geode-lucene/src/distributedTest/java/org/apache/geode/cache/lucene/LuceneIndexDestroyDUnitTest.java
@@ -72,6 +72,9 @@ public class LuceneIndexDestroyDUnitTest extends LuceneDUnitTest {
   public void postSetUp() throws Exception {
     super.postSetUp();
     accessor = Host.getHost(0).getVM(3);
+
+    // Add ignored exceptions to ignore IllegalArgumentException from MemoryUsage java obj
+    IgnoredException.addIgnoredException("committed = 538968064 should be < max = 536870912");
   }
 
   private Object[] parametersForIndexDestroys() {