jpountz commented on issue #769: LUCENE-8905: Better Error Handling For Illegal Arguments URL: https://github.com/apache/lucene-solr/pull/769#issuecomment-528440603 I'm seeing test failures such as ``` 17:50:42 [junit4] Suite: org.apache.lucene.search.TestDiversifiedTopDocsCollector 17:50:42 [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestDiversifiedTopDocsCollector -Dtests.method=testInvalidArguments -Dtests.seed=7DDC995A69B8EEE3 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=fr-DZ -Dtests.timezone=Asia/Qatar -Dtests.asserts=true -Dtests.file.encoding=UTF8 17:50:42 [junit4] ERROR 0.33s J0 | TestDiversifiedTopDocsCollector.testInvalidArguments <<< 17:50:42 [junit4] > Throwable #1: java.lang.IllegalArgumentException: Expected value of starting position is between 0 and 5, got -1 17:50:42 [junit4] > at __randomizedtesting.SeedInfo.seed([7DDC995A69B8EEE3:2C3B93B8CB053023]:0) 17:50:42 [junit4] > at org.apache.lucene.search.TopDocsCollector.topDocs(TopDocsCollector.java:144) 17:50:42 [junit4] > at org.apache.lucene.search.TopDocsCollector.topDocs(TopDocsCollector.java:115) 17:50:42 [junit4] > at org.apache.lucene.search.TestDiversifiedTopDocsCollector.testInvalidArguments(TestDiversifiedTopDocsCollector.java:96) 17:50:42 [junit4] > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 17:50:42 [junit4] > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 17:50:42 [junit4] > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 17:50:42 [junit4] > at java.base/java.lang.reflect.Method.invoke(Method.java:566) 17:50:42 [junit4] > at java.base/java.lang.Thread.run(Thread.java:834) 17:50:42 [junit4] 2> NOTE: test params are: codec=Asserting(Lucene80): {song=PostingsFormat(name=LuceneFixedGap), year=PostingsFormat(name=LuceneFixedGap), artistName=PostingsFormat(name=Direct), id=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128)))}, docValues:{song=DocValuesFormat(name=Asserting), weeks=DocValuesFormat(name=Asserting), artist=DocValuesFormat(name=Asserting), year=DocValuesFormat(name=Asserting), weeksAtNumberOne=DocValuesFormat(name=Asserting), artistName=DocValuesFormat(name=Lucene80), id=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=650, maxMBSortInHeap=7.269775733297731, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@21758fe2), locale=fr-DZ, timezone=Asia/Qatar 17:50:42 [junit4] 2> NOTE: Linux 4.15.0-1041-gcp amd64/Oracle Corporation 11.0.2 (64-bit)/cpus=16,threads=1,free=285526208,total=536870912 17:50:42 [junit4] 2> NOTE: All tests run in this JVM: [TestInetAddressPoint, TestDocValuesStatsCollector, TestPKIndexSplitter, TestHighFreqTerms, TestDiversifiedTopDocsCollector] 17:50:42 [junit4] Completed [9/16 (1!)] on J0 in 1.54s, 4 tests, 1 error <<< FAILURES! ``` I'll look at it a bit later unless you beat me to it.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
