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

ASF subversion and git services commented on SOLR-12946:
--------------------------------------------------------

Commit 50e10d327428ea05df493e6bcd62aaeccb7ec0b9 in lucene-solr's branch 
refs/heads/branch_7x from Chris Hostetter
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=50e10d3 ]

SOLR-12946: tighten up request/expectations in test

This should prevent some non-reproducible failures where (i think) the problem 
was inconsistnet background merges between collections being compared, 
resulting in facet counts (of 0) for terms that weren't in equivilent (merged) 
indexes.

since the purpose of the test has nothing to do with mincount, force 
facet.mincount=0 and be more exact about how many terms we expect (in case the 
root problem lies somewhere else, be more assertive about finding it)

(cherry picked from commit 05f72a77efb13517885618597f14cf0d76bd31f7)


> DistribCursorPagingTest non-reproducible failures in comparing facet counts
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-12946
>                 URL: https://issues.apache.org/jira/browse/SOLR-12946
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>            Priority: Major
>         Attachments: risdenk-nuc-20181031-build-11.txt.gz, 
> risdenk-nuc-20181031-build-31.txt.gz
>
>
> Anecdotal reports of failures from DistribCursorPagingTest long the lines of..
> {noformat}
> reproduce with: ant test  -Dtestcase=DistribCursorPagingTest 
> -Dtests.method=test -Dtests.seed=87B400F0180614A3 -Dtests.slow=true 
> -Dtests.badapples=true -Dtests.locale=sq-AL -Dtests.timezone=Etc/GMT+9 
> -Dtests.asserts=true -Dtests.file.encoding=UTF-8
> 23:47:46    [junit4] FAILURE 19.4s J7 | DistribCursorPagingTest.test <<<
> 23:47:46    [junit4]    > Throwable #1: junit.framework.AssertionFailedError: 
> .facet_counts.facet_fields.str.x:0!=null
> 23:47:46    [junit4]    >     at 
> __randomizedtesting.SeedInfo.seed([87B400F0180614A3:FE03F2AB6FA795B]:0)
> 23:47:46    [junit4]    >     at junit.framework.Assert.fail(Assert.java:50)
> 23:47:46    [junit4]    >     at 
> org.apache.solr.BaseDistributedSearchTestCase.compareSolrResponses(BaseDistributedSearchTestCase.java:985)
> 23:47:46    [junit4]    >     at 
> org.apache.solr.BaseDistributedSearchTestCase.compareResponses(BaseDistributedSearchTestCase.java:1012)
> 23:47:46    [junit4]    >     at 
> org.apache.solr.BaseDistributedSearchTestCase.query(BaseDistributedSearchTestCase.java:666)
> 23:47:46    [junit4]    >     at 
> org.apache.solr.BaseDistributedSearchTestCase.query(BaseDistributedSearchTestCase.java:629)
> 23:47:46    [junit4]    >     at 
> org.apache.solr.cloud.DistribCursorPagingTest.doSimpleTest(DistribCursorPagingTest.java:258)
> 23:47:46    [junit4]    >     at 
> org.apache.solr.cloud.DistribCursorPagingTest.test(DistribCursorPagingTest.java:90)
> 23:47:46    [junit4]    >     at 
> org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:1066)
> 23:47:46    [junit4]    >     at 
> org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:1040)
> 23:47:46    [junit4]    >     at 
> java.lang.Thread.run(Thread.java:748){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