make test less evil

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641885 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2014-11-26 18:57:56 +00:00
parent 414c894ad2
commit dac24dd151
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ public class TestIndexWriterThreadsToSegments extends LuceneTestCase {
CheckSegmentCount checker = new CheckSegmentCount(w, maxThreadCount, indexingCount);
// We spin up 10 threads up front, but then in between flushes we limit how many can run on each iteration
final int ITERS = 100;
final int ITERS = TEST_NIGHTLY ? 300 : 10;
Thread[] threads = new Thread[MAX_THREADS_AT_ONCE];
// We use this to stop all threads once they've indexed their docs in the current iter, and pull a new NRT reader, and verify the