LUCENE-9331: Make TestIndexWriterDelete#testDeletesOnDiskFull converge faster.

This commit is contained in:
Adrien Grand 2020-05-01 09:47:27 +02:00
parent 9ae05e9b4f
commit 34c9fe42f8
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}