make this slooow test less evil when not running nightly

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1089906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2011-04-07 15:05:28 +00:00
parent 528a4b806a
commit 9479242fb7
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public class TestIndexWriterOnDiskFull extends LuceneTestCase {
dir.close();
// Now try again w/ more space:
diskFree += _TestUtil.nextInt(random, 400, 600);
diskFree += TEST_NIGHTLY ? _TestUtil.nextInt(random, 400, 600) : _TestUtil.nextInt(random, 3000, 5000);
} else {
//_TestUtil.syncConcurrentMerges(writer);
dir.setMaxSizeInBytes(0);