mirror of https://github.com/apache/lucene.git
LUCENE-4653: reduce iterations back to 300
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428440 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
85a3d34674
commit
224eb6a522
|
@ -1138,7 +1138,7 @@ public class TestIndexWriter extends LuceneTestCase {
|
|||
assertTrue(new ThreadInterruptedException(new InterruptedException()).getCause() instanceof InterruptedException);
|
||||
|
||||
// issue 300 interrupts to child thread
|
||||
final int numInterrupts = atLeast(3000);
|
||||
final int numInterrupts = atLeast(300);
|
||||
int i = 0;
|
||||
while(i < numInterrupts) {
|
||||
// TODO: would be nice to also sometimes interrupt the
|
||||
|
|
Loading…
Reference in New Issue