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();
|
dir.close();
|
||||||
|
|
||||||
// Try again with 10 more bytes of free space:
|
// Try again with more bytes of free space:
|
||||||
diskFree += 10;
|
diskFree += Math.max(10, diskFree >>> 3);
|
||||||
}
|
}
|
||||||
startDir.close();
|
startDir.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue