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

Varun Thacker commented on SOLR-12150:
--------------------------------------

Added CHANGES entry and also made a slight modification where the source will 
always have the new document as we are calling a commit. So we don't need the 
additional null checkĀ 
{code:java}
assertEquals("cluster 2 wrong doc", "ABC", 
response.getResults().get(0).get(atomicFieldName));{code}

> CdcrBidirectionalTest.testBiDir() reproducing failure
> -----------------------------------------------------
>
>                 Key: SOLR-12150
>                 URL: https://issues.apache.org/jira/browse/SOLR-12150
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: CDCR, Tests
>            Reporter: Steve Rowe
>            Priority: Major
>         Attachments: SOLR-12150.patch, SOLR-12150.patch, SOLR-12150.patch
>
>
> From [https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-MacOSX/538/] (also 
> reproduces for me on Linux):
> {noformat}
> Checking out Revision e80ee7fff85918e68c212757c0e6c4bddbdb5ab6 
> (refs/remotes/origin/branch_7x)
> [...]
>    [junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=CdcrBidirectionalTest -Dtests.method=testBiDir 
> -Dtests.seed=38DB802FA0173E8D -Dtests.slow=true -Dtests.locale=ro-RO 
> -Dtests.timezone=Etc/GMT-8 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>    [junit4] ERROR   23.3s J0 | CdcrBidirectionalTest.testBiDir <<<
>    [junit4]    > Throwable #1: java.lang.IndexOutOfBoundsException: Index: 0, 
> Size: 0
>    [junit4]    >      at 
> __randomizedtesting.SeedInfo.seed([38DB802FA0173E8D:7D0070CDB83972CF]:0)
>    [junit4]    >      at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>    [junit4]    >      at java.util.ArrayList.get(ArrayList.java:429)
>    [junit4]    >      at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.getDocFieldValue(CdcrBidirectionalTest.java:227)
>    [junit4]    >      at 
> org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.testBiDir(CdcrBidirectionalTest.java:200)
>    [junit4]    >      at java.lang.Thread.run(Thread.java:748)
> [...]
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70), 
> sim=RandomSimilarity(queryNorm=false): {}, locale=ro-RO, timezone=Etc/GMT-8
>    [junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_144 
> (64-bit)/cpus=3,threads=1,free=160960440,total=347418624
> {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