mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 02:58:58 +00:00
fix slow TestXXXPostingsFormat tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391875 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d71374e67d
commit
fb89fcd95a
@ -78,7 +78,7 @@ public class MockIndexOutputWrapper extends IndexOutput {
|
||||
long freeSpace = dir.maxSize == 0 ? 0 : dir.maxSize - dir.sizeInBytes();
|
||||
long realUsage = 0;
|
||||
|
||||
if (dir.rateLimiter != null && len >= 10) {
|
||||
if (dir.rateLimiter != null && len >= 1000) {
|
||||
dir.rateLimiter.pause(len);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user