You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/01/25 20:04:52 UTC

lucene-solr git commit: disable Direct and Memory for this test to avoid false OOME failures

Repository: lucene-solr
Updated Branches:
  refs/heads/master c99698b6d -> 7b4310190


disable Direct and Memory for this test to avoid false OOME failures


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/7b431019
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/7b431019
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/7b431019

Branch: refs/heads/master
Commit: 7b43101902ac38af4e0da683e170becd8e781a4f
Parents: c99698b
Author: Mike McCandless <mi...@apache.org>
Authored: Mon Jan 25 14:04:36 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Mon Jan 25 14:04:36 2016 -0500

----------------------------------------------------------------------
 .../src/test/org/apache/lucene/util/BaseGeoPointTestCase.java      | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/7b431019/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java
----------------------------------------------------------------------
diff --git a/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java b/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java
index 4236e88..4904d1f 100644
--- a/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java
+++ b/lucene/sandbox/src/test/org/apache/lucene/util/BaseGeoPointTestCase.java
@@ -337,6 +337,8 @@ public abstract class BaseGeoPointTestCase extends LuceneTestCase {
 
   @Nightly
   public void testRandomBig() throws Exception {
+    assumeFalse("Direct codec can OOME on this test", TestUtil.getDocValuesFormat(FIELD_NAME).equals("Direct"));
+    assumeFalse("Memory codec can OOME on this test", TestUtil.getDocValuesFormat(FIELD_NAME).equals("Memory"));
     doTestRandom(200000);
   }