lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1399763 - in /lucene/dev/trunk/lucene/core/src: java/org/apache/lucene/util/fst/Util.java test/org/apache/lucene/util/packed/TestPackedInts.java
Date Thu, 18 Oct 2012 18:18:34 GMT
Author: mikemccand
Date: Thu Oct 18 18:18:34 2012
New Revision: 1399763

URL: http://svn.apache.org/viewvc?rev=1399763&view=rev
Log:
LUCENE-4488: ignore this heapdump-producing test case for now

Modified:
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/fst/Util.java
    lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/util/packed/TestPackedInts.java

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/fst/Util.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/fst/Util.java?rev=1399763&r1=1399762&r2=1399763&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/fst/Util.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/fst/Util.java Thu Oct 18
18:18:34 2012
@@ -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;

Modified: lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/util/packed/TestPackedInts.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/util/packed/TestPackedInts.java?rev=1399763&r1=1399762&r2=1399763&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/util/packed/TestPackedInts.java
(original)
+++ lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/util/packed/TestPackedInts.java
Thu Oct 18 18:18:34 2012
@@ -38,6 +38,8 @@ import org.apache.lucene.util.LuceneTest
 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 Luce
     
     NOTE: this test allocates 256 MB
    */
+  @Ignore("See LUCENE-4488")
   public void testIntOverflow() {
     int INDEX = (int)Math.pow(2, 30)+1;
     int BITS = 2;



Mime
View raw message