[
https://issues.apache.org/jira/browse/SOLR-12932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16671586#comment-16671586
]
Kevin Risden commented on SOLR-12932:
-------------------------------------
Commit: 8e0733bc99544da01e9e115c1b28a2a7b9c380d4
Test: AutoAddReplicasIntegrationTest#testSimple
{code:java}
NOTE: reproduce with: ant test -Dtestcase=AutoAddReplicasIntegrationTest
-Dtests.method=testSimple -Dtests.seed=E73476C72BD62F1 -Dtests.slow=true
-Dtests.badapples=true -Dtests.locale=zh-HK -Dtests.timezone=Australia/Hobart
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] FAILURE 68.1s J3 | AutoAddReplicasIntegrationTest.testSimple <<<
[junit4] > Throwable #1: java.lang.AssertionError: Waiting for collection
testSimple2
[junit4] > null
[junit4] > Live Nodes: [127.0.0.1:35447_solr, 127.0.0.1:43523_solr]
[junit4] > Last available state:
DocCollection(testSimple2//collections/testSimple2/state.json/29)={
[junit4] > "pullReplicas":"0",
[junit4] > "replicationFactor":"2",
[junit4] > "shards":{
[junit4] > "shard1":{
[junit4] > "range":"80000000-ffffffff",
[junit4] > "state":"active",
[junit4] > "replicas":{
[junit4] > "core_node3":{
[junit4] > "core":"testSimple2_shard1_replica_n1",
[junit4] > "base_url":"http://127.0.0.1:43235/solr",
[junit4] > "node_name":"127.0.0.1:43235_solr",
[junit4] > "state":"down",
[junit4] > "type":"NRT",
[junit4] > "force_set_state":"false"},
[junit4] > "core_node5":{
[junit4] > "core":"testSimple2_shard1_replica_n2",
[junit4] > "base_url":"http://127.0.0.1:35447/solr",
[junit4] > "node_name":"127.0.0.1:35447_solr",
[junit4] > "state":"active",
[junit4] > "type":"NRT",
[junit4] > "force_set_state":"false",
[junit4] > "leader":"true"},
[junit4] > "core_node12":{
[junit4] > "core":"testSimple2_shard1_replica_n11",
[junit4] > "base_url":"http://127.0.0.1:35447/solr",
[junit4] > "state":"down",
[junit4] > "node_name":"127.0.0.1:35447_solr",
[junit4] > "type":"NRT"}}},
[junit4] > "shard2":{
[junit4] > "range":"0-7fffffff",
[junit4] > "state":"active",
[junit4] > "replicas":{
[junit4] > "core_node8":{
[junit4] > "core":"testSimple2_shard2_replica_n6",
[junit4] > "base_url":"http://127.0.0.1:35447/solr",
[junit4] > "node_name":"127.0.0.1:35447_solr",
[junit4] > "state":"active",
[junit4] > "type":"NRT",
[junit4] > "force_set_state":"false",
[junit4] > "leader":"true"},
[junit4] > "core_node10":{
[junit4] > "core":"testSimple2_shard2_replica_n9",
[junit4] > "base_url":"http://127.0.0.1:35447/solr",
[junit4] > "node_name":"127.0.0.1:35447_solr",
[junit4] > "state":"active",
[junit4] > "type":"NRT",
[junit4] > "force_set_state":"false"}}}},
[junit4] > "router":{"name":"compositeId"},
[junit4] > "maxShardsPerNode":"2",
[junit4] > "autoAddReplicas":"true",
[junit4] > "nrtReplicas":"2",
[junit4] > "tlogReplicas":"0"}
[junit4] > at
__randomizedtesting.SeedInfo.seed([E73476C72BD62F1:36C06392554EB620]:0)
[junit4] > at
org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:283)
[junit4] > at
org.apache.solr.cloud.autoscaling.AutoAddReplicasIntegrationTest.testSimple(AutoAddReplicasIntegrationTest.java:136)
[junit4] > at java.lang.Thread.run(Thread.java:748)
{code}
Reference: risdenk/nuc#57
> ant test (without badapples=false) should pass easily for developers.
> ---------------------------------------------------------------------
>
> Key: SOLR-12932
> URL: https://issues.apache.org/jira/browse/SOLR-12932
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Tests
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Major
>
> If we fix the tests we will end up here anyway, but we can shortcut this.
> Once I get my first patch in, anyone who mentions a test that fails locally
> for them at any time (not jenkins), I will fix it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]