mirror of https://github.com/apache/lucene.git
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:
parent
528a4b806a
commit
9479242fb7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue