You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jim Ferenczi (JIRA)" <ji...@apache.org> on 2019/01/02 08:41:00 UTC
[jira] [Resolved] (LUCENE-8627) TestSearchAfter.testQueries()
failure
[ https://issues.apache.org/jira/browse/LUCENE-8627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Ferenczi resolved LUCENE-8627.
----------------------------------
Resolution: Fixed
Fix Version/s: master (8.0)
The test fails because the hit count is not tracked accurately. I pushed a fix that ensures that hit counts are accurate in order to be able to compare them during the tests.
Thanks [~steve_rowe].
> TestSearchAfter.testQueries() failure
> -------------------------------------
>
> Key: LUCENE-8627
> URL: https://issues.apache.org/jira/browse/LUCENE-8627
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Steve Rowe
> Priority: Major
> Fix For: master (8.0)
>
>
> From [https://builds.apache.org/job/Lucene-Solr-NightlyTests-master/1735], reproduces 10/10 iterations for me:
> {noformat}
> [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestSearchAfter -Dtests.method=testQueries -Dtests.seed=C0154BFB98528228 -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt -Dtests.locale=sr-ME -Dtests.timezone=Africa/Timbuktu -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
> [junit4] FAILURE 0.34s J2 | TestSearchAfter.testQueries <<<
> [junit4] > Throwable #1: java.lang.AssertionError: expected:<1082> but was:<1000>
> [junit4] > at __randomizedtesting.SeedInfo.seed([C0154BFB98528228:9C9B8720823B3786]:0)
> [junit4] > at org.apache.lucene.search.TestSearchAfter.assertPage(TestSearchAfter.java:268)
> [junit4] > at org.apache.lucene.search.TestSearchAfter.assertQuery(TestSearchAfter.java:260)
> [junit4] > at org.apache.lucene.search.TestSearchAfter.testQueries(TestSearchAfter.java:183)
> [junit4] > at java.lang.Thread.run(Thread.java:748)
> [junit4] 2> NOTE: test params are: codec=CheapBastard, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@6f9a6df3), locale=sr-ME, timezone=Africa/Timbuktu
> [junit4] 2> NOTE: Linux 4.4.0-137-generic amd64/Oracle Corporation 1.8.0_191 (64-bit)/cpus=4,threads=1,free=174481080,total=519045120
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org