[ 
https://issues.apache.org/jira/browse/LUCENE-7554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless resolved LUCENE-7554.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 6.4
                   master (7.0)

Thanks for reporting all these [~steve_rowe]!  I'm sure other tests that rely 
on similarity being "predictable" will emerge ...

> FastVectorHighlighterTest.testCommonTermsQueryHighlight() failure
> -----------------------------------------------------------------
>
>                 Key: LUCENE-7554
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7554
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/highlighter
>            Reporter: Steve Rowe
>             Fix For: master (7.0), 6.4
>
>
> My Jenkins found a reproducing seed on master:
> {noformat}
>   [junit4] Suite: 
> org.apache.lucene.search.vectorhighlight.FastVectorHighlighterTest
>   [junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=FastVectorHighlighterTest 
> -Dtests.method=testCommonTermsQueryHighlight -Dtests.seed=B7CD4D02A5D5B9B7 
> -Dtests.slow=true -Dtests.locale=ro -Dtests.timezone=Asia/Yakutsk 
> -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>   [junit4] FAILURE 0.09s J4 | 
> FastVectorHighlighterTest.testCommonTermsQueryHighlight <<<
>   [junit4]    > Throwable #1: org.junit.ComparisonFailure: expected:<[This 
> piece of <b>text</b> refers to Kennedy at the beginning then has a longer 
> piece of <b>text</b> that is <b>very</b> <b>long</b> in the middle and 
> finally ends with another reference to Kennedy]> but was:<[Hello this is a 
> piece of <b>text</b> that is <b>very</b> <b>long</b> and contains too much 
> preamble and the meat is really here which says kennedy has been shot]>
>   [junit4]    >       at 
> __randomizedtesting.SeedInfo.seed([B7CD4D02A5D5B9B7:8A208887DCBC2AEB]:0)
>   [junit4]    >       at 
> org.apache.lucene.search.vectorhighlight.FastVectorHighlighterTest.testCommonTermsQueryHighlight(FastVectorHighlighterTest.java:356)
>   [junit4]    >       at java.lang.Thread.run(Thread.java:745)
>   [junit4]   2> NOTE: test params are: codec=Lucene70, 
> sim=RandomSimilarity(queryNorm=false): {field_der_red=DFR I(ne)1, 
> no_long_term=DFR GB1, 
> field=org.apache.lucene.search.similarities.BooleanSimilarity@2f4ba3ab, 
> field_sliced=DFR I(ne)BZ(0.3), field_tripples=DFR I(F)BZ(0.3), 
> field_exact=DFR I(F)1, text=IB SPL-L1, field_super_exact=DFR I(n)2, 
> field_characters=DFR I(F)3(800.0), long_term=DFR GB1}, locale=ro, 
> timezone=Asia/Yakutsk
>   [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
> 1.8.0_77 (64-bit)/cpus=16,threads=1,free=396825712,total=514850816
>   [junit4]   2> NOTE: All tests run in this JVM: [TestSplittingBreakIterator, 
> WeightedFragListBuilderTest, FieldTermStackTest, FastVectorHighlighterTest]
>   [junit4] Completed [22/31 (1!)] on J4 in 1.65s, 11 tests, 1 failure <<< 
> FAILURES!
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to