Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-4488: ignore this heapdump-producing test case for now

Michael McCandlessde400265aa7f
diff --git a/lucene/core/src/java/org/apache/lucene/util/fst/Util.java b/lucene/core/src/java/org/apache/lucene/util/fst/Util.java
index 31e81abf3c3..ace44f8cf6d 100644
--- a/lucene/core/src/java/org/apache/lucene/util/fst/Util.java
+++ b/lucene/core/src/java/org/apache/lucene/util/fst/Util.java
@@ -400,6 +400,7 @@ public final class Util {
continue;
}
+ // nocommit this isn't safe? last path could be rejected?
if (results.size() == topN-1) {
// Last path -- don't bother w/ queue anymore:
queue = null;
diff --git a/lucene/core/src/test/org/apache/lucene/util/packed/TestPackedInts.java b/lucene/core/src/test/org/apache/lucene/util/packed/TestPackedInts.java
index 90425f387f6..79a31eb3073 100644
--- a/lucene/core/src/test/org/apache/lucene/util/packed/TestPackedInts.java
+++ b/lucene/core/src/test/org/apache/lucene/util/packed/TestPackedInts.java
@@ -38,6 +38,8 @@ import org.apache.lucene.util.LuceneTestCase.Slow;
import org.apache.lucene.util._TestUtil;
import org.apache.lucene.util.packed.PackedInts.Reader;
+import org.junit.Ignore;
+
@Slow
public class TestPackedInts extends LuceneTestCase {
public void testBitsRequired() {
@@ -389,6 +391,7 @@ public class TestPackedInts extends LuceneTestCase {
NOTE: this test allocates 256 MB
*/
+ @Ignore("See LUCENE-4488")
public void testIntOverflow() {
int INDEX = (int)Math.pow(2, 30)+1;
int BITS = 2;