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 2011/07/11 20:07:14 UTC
svn commit: r1145266 - in /lucene/dev/branches/branch_3x: ./ lucene/
lucene/backwards/ lucene/backwards/src/test-framework/
lucene/backwards/src/test/
lucene/src/test/org/apache/lucene/index/Test2BPostings.java solr/
Author: mikemccand
Date: Mon Jul 11 18:07:14 2011
New Revision: 1145266
URL: http://svn.apache.org/viewvc?rev=1145266&view=rev
Log:
enable Test2BPostings only @Nightly
Modified:
lucene/dev/branches/branch_3x/ (props changed)
lucene/dev/branches/branch_3x/lucene/ (props changed)
lucene/dev/branches/branch_3x/lucene/backwards/ (props changed)
lucene/dev/branches/branch_3x/lucene/backwards/src/test/ (props changed)
lucene/dev/branches/branch_3x/lucene/backwards/src/test-framework/ (props changed)
lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/Test2BPostings.java
lucene/dev/branches/branch_3x/solr/ (props changed)
Modified: lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/Test2BPostings.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/Test2BPostings.java?rev=1145266&r1=1145265&r2=1145266&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/Test2BPostings.java (original)
+++ lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/Test2BPostings.java Mon Jul 11 18:07:14 2011
@@ -27,7 +27,6 @@ import org.apache.lucene.document.Field;
import org.apache.lucene.store.MockDirectoryWrapper;
import org.apache.lucene.util.LuceneTestCase;
import org.apache.lucene.util._TestUtil;
-
import org.junit.Ignore;
/**
@@ -35,8 +34,10 @@ import org.junit.Ignore;
* @lucene.experimental
*/
public class Test2BPostings extends LuceneTestCase {
- @Ignore("Must run with large (14 GB) java heap, and not Memory nor SimpleText codec!")
+
+ @Nightly
public void test() throws Exception {
+
MockDirectoryWrapper dir = newFSDirectory(_TestUtil.getTempDir("2BPostings"));
dir.setThrottling(MockDirectoryWrapper.Throttling.NEVER);
dir.setCheckIndexOnClose(false); // don't double-checkindex