[ 
https://issues.apache.org/jira/browse/LUCENE-8627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731838#comment-16731838
 ] 

ASF subversion and git services commented on LUCENE-8627:
---------------------------------------------------------

Commit 7c70365811bb2800bdaf39302e187e8a9a180872 in lucene-solr's branch 
refs/heads/master from Jim Ferenczi
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7c70365 ]

LUCENE-8627: Fix SearchAfter#testQueries to always count the number of hits 
accurately.


> 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
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to