My machine is hot at picking seeds today :). [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.search.TestLocaleMethods.testSort(TestLocaleMethods.java:84) [junit] [junit] [junit] Testcase: testSort2(org.apache.lucene.search.TestLocaleMethods): 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.search.TestLocaleMethods.testSort2(TestLocaleMethods.java:100) [junit] [junit] [junit] Tests run: 4, Failures: 2, Errors: 0, Time elapsed: 2.03 sec [junit] [junit] ------------- Standard Error ----------------- [junit] NOTE: reproduce with: ant test -Dtestcase=TestLocaleMethods -Dtestmethod=testSort -Dtests.seed=-6178492448073106006:6179706939192629911 [junit] NOTE: reproduce with: ant test -Dtestcase=TestLocaleMethods -Dtestmethod=testSort2 -Dtests.seed=-6178492448073106006:7745709510566497976 [junit] NOTE: test params are: locale=tr_TR, timezone=GMT0 [junit] NOTE: all tests run in this JVM: [junit] [TestSearch, TestAnalyzers, TestISOLatin1AccentFilter, TestStandardAnalyzer, TestTermAttributeImpl, TestAddIndexes, TestDeletionPolicy, TestIndexFileDeleter, TestIndexWriterDelete, TestIndexWriterWithThreads, TestNoDeletionPolicy, TestParallelReaderEmptyIndex, TestSegmentInfo, TestStressIndexing, TestTransactions, TestBoolean2, TestComplexExplanationsOfNonMatches, TestElevationComparator, TestLocaleMethods] [junit] NOTE: Windows 7 6.1 build 7600 amd64/IBM Corporation 1.6.0 (64-bit)/cpus=2,threads=4,free=27719824,total=53872640 [junit] ------------- ---------------- ---------------
The first repro line fails both testSort and testSort2. It fails w/ an IBM JRE, but passes w/ Sun's. The default locale picked by the test is tr_TR. Will investigate, though the test itself looks 'safe', so it must be something behind the scenes that uses the default locale on us. Shai