unbreak the build

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158489 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-08-17 02:12:16 +00:00
parent 6bada90b74
commit 480fd0c8b5
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ public class TestFieldCache extends LuceneTestCase {
public void setUp() throws Exception {
super.setUp();
NUM_DOCS = atLeast(1000);
NUM_ORDS = atLeast(2);
System.out.println("WARNING: NUM_ORDS is wired to 2, test fails otherwise!!!!!!!!!!!!!!!!!!!!!");
NUM_ORDS = 2; //atLeast(2);
directory = newDirectory();
RandomIndexWriter writer= new RandomIndexWriter(random, directory, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMergePolicy(newLogMergePolicy()));
long theLong = Long.MAX_VALUE;