mirror of https://github.com/apache/lucene.git
LUCENE-9331: Make TestIndexWriterDelete#testDeletesOnDiskFull converge faster.
This commit is contained in:
parent
9ae05e9b4f
commit
34c9fe42f8
|
@ -702,8 +702,8 @@ public class TestIndexWriterDelete extends LuceneTestCase {
|
|||
}
|
||||
dir.close();
|
||||
|
||||
// Try again with 10 more bytes of free space:
|
||||
diskFree += 10;
|
||||
// Try again with more bytes of free space:
|
||||
diskFree += Math.max(10, diskFree >>> 3);
|
||||
}
|
||||
startDir.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue