I ran tests on 3x today and hit this:
[junit] Testsuite: org.apache.lucene.index.TestIndexWriterMergePolicy
[junit] Testcase:
testMaxBufferedDocsChange(org.apache.lucene.index.TestIndexWriterMergePolicy):
FAILED
[junit]
[junit] junit.framework.AssertionFailedError:
[junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1076)
[junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1008)
[junit] at
org.apache.lucene.index.TestIndexWriterMergePolicy.checkInvariants(TestIndexWriterMergePolicy.java:221)
[junit] at
org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange(TestIndexWriterMergePolicy.java:168)
[junit]
[junit]
[junit] Tests run: 6, Failures: 1, Errors: 0, Time elapsed: 2.777 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] NOTE: reproduce with: ant test
-Dtestcase=TestIndexWriterMergePolicy -Dtestmethod=testMaxBufferedDocsChange
-Dtests.seed=-4805406970232115944:2175520643927646734
[junit] NOTE: test params are: locale=el_CY_PREEURO,
timezone=America/Dominica
[junit] NOTE: all tests run in this JVM:
[junit] [TestCharArrayMap, TestLengthFilter, TestTeeSinkTokenFilter,
TestBinaryDocument, TestByteSlices, TestDocumentWriter,
TestIndexReaderClone, TestIndexWriterMergePolicy]
[junit] NOTE: Windows 7 6.1 build 7600 amd64/IBM Corporation 1.6.0
(64-bit)/cpus=2,threads=3,free=4734480,total=13416448
I was able to reproduce it with the 'reproduce' line only on 3x. Also
reproducible if it's the only test that's running. I can look at it in 3-4
hours from now, so am posting this to the list in case someone gets to it
before me.
Shai