You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/07/12 21:49:04 UTC

[jira] [Commented] (SOLR-6241) HttpPartitionTest.testRf3WithLeaderFailover fails sometimes

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

Shalin Shekhar Mangar commented on SOLR-6241:
---------------------------------------------

I have looked at this test and the failure is because it sleeps for 10s to make sure that a recovery completes and sometimes it doesn't. We should try harder.

> HttpPartitionTest.testRf3WithLeaderFailover fails sometimes
> -----------------------------------------------------------
>
>                 Key: SOLR-6241
>                 URL: https://issues.apache.org/jira/browse/SOLR-6241
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud, Tests
>            Reporter: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 4.10
>
>
> This test fails sometimes locally as well as on jenkins.
> {code}
> Expected 2 of 3 replicas to be active but only found 1....
> at org.junit.Assert.fail(Assert.java:93)
>         at org.junit.Assert.assertTrue(Assert.java:43)
>         at org.apache.solr.cloud.HttpPartitionTest.testRf3WithLeaderFailover(HttpPartitionTest.java:367)
>         at org.apache.solr.cloud.HttpPartitionTest.doTest(HttpPartitionTest.java:148)
>         at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:863)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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