fix test bug

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1132620 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-06-06 13:01:03 +00:00
parent 205e63ab7d
commit a385b7b5c9
1 changed files with 3 additions and 3 deletions

View File

@ -126,15 +126,15 @@ public class TestLazyBug extends LuceneTestCase {
}
public void testLazyWorks() throws Exception {
doTest(new int[] { 399 });
doTest(new int[] { TEST_NIGHTLY ? 499 : 49 });
}
public void testLazyAlsoWorks() throws Exception {
doTest(new int[] { 399, 150 });
doTest(TEST_NIGHTLY ? new int[] { 499, 150 } : new int[] { 49, 15 });
}
public void testLazyBroken() throws Exception {
doTest(new int[] { 150, 399 });
doTest(TEST_NIGHTLY ? new int[] { 150, 499 } : new int[] { 15, 49 });
}
}