Hi Steve,

On Tue, Apr 30, 2013 at 3:57 PM, Steve Rowe <sar...@gmail.com> wrote:
> Smoke tester is unhappy when testing Lucene - this reproduces for me 100%, 
> both from the unpacked source release tarball and on the release branch, 
> under both Java 6 and 7:
>
> -----
> [junit4:junit4] Suite: org.apache.lucene.index.sorter.TestSortingMergePolicy
> [junit4:junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestSortingMergePolicy -Dtests.method=testSortingMP 
> -Dtests.seed=6523067B32537715 -Dtests.slow=true -Dtests.locale=ja_JP_JP 
> -Dtests.timezone=Mideast/Riyadh88 -Dtests.file.encoding=UTF-8
> [junit4:junit4] FAILURE 0.97s | TestSortingMergePolicy.testSortingMP <<<
> [junit4:junit4]    > Throwable #1: java.lang.AssertionError
> [junit4:junit4]    >    at 
> __randomizedtesting.SeedInfo.seed([6523067B32537715:4F6847B6181749F2]:0)
> [junit4:junit4]    >    at 
> org.apache.lucene.index.sorter.TestSortingMergePolicy.assertSorted(TestSortingMergePolicy.java:141)
> [junit4:junit4]    >    at 
> org.apache.lucene.index.sorter.TestSortingMergePolicy.testSortingMP(TestSortingMergePolicy.java:150)
> [junit4:junit4]    >    at java.lang.Thread.run(Thread.java:680)
> [junit4:junit4]   2> NOTE: test params are: 
> codec=DummyCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=DUMMY,
>  chunkSize=283), 
> termVectorsFormat=CompressingTermVectorsFormat(compressionMode=DUMMY, 
> chunkSize=283)), sim=DefaultSimilarity, locale=ja_JP_JP, 
> timezone=Mideast/Riyadh88
> [junit4:junit4]   2> NOTE: Mac OS X 10.8.3 x86_64/Apple Inc. 1.6.0_45 
> (64-bit)/cpus=8,threads=1,free=69496880,total=85000192
> [junit4:junit4]   2> NOTE: All tests run in this JVM: [TestSortingMergePolicy]
> [junit4:junit4] Completed in 1.34s, 1 test, 1 failure <<< FAILURES!

It's a test bug. The assertion that failed only works when the segment
is the result of a merge and for some reason it doesn't happen with
this seed (I have source=flush in the diagnostics). I'll fix it.

-- 
Adrien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to