Tomás Fernández Löbbe created SOLR-12627:
--------------------------------------------
Summary: solrconfig.xml missing from _default configset in tests
Key: SOLR-12627
URL: https://issues.apache.org/jira/browse/SOLR-12627
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: Tests
Reporter: Tomás Fernández Löbbe
I've seen tests fail with:
{noformat}
Can't find resource 'solrconfig.xml' in classpath or
'/configs/COLLECTION_NAME.AUTOCREATED'
{noformat}
I checked the logs and the solrconfig.xml file is not in the "_default"
configset, which is why it's not in the {{AUTOCREATED}} one either:
{noformat}
[junit4] 2> 934674 INFO (OverseerThreadFactory-5849-thread-1) [ ]
o.a.s.c.a.c.CreateCollectionCmd Create collection testMixedReplicas-false
[junit4] 2> 934675 INFO (OverseerThreadFactory-5849-thread-1) [ ]
o.a.s.c.c.ZkConfigManager Copying zk node /configs/_default/protwords.txt to
/configs/testMixedReplicas-false.AUTOCREATED/protwords.txt
[junit4] 2> 934675 INFO (OverseerThreadFactory-5849-thread-1) [ ]
o.a.s.c.c.ZkConfigManager Copying zk node /configs/_default/managed-schema to
/configs/testMixedReplicas-false.AUTOCREATED/managed-schema
[junit4] 2> 934676 INFO (OverseerThreadFactory-5849-thread-1) [ ]
o.a.s.c.c.ZkConfigManager Copying zk node
/configs/_default/lang/contractions_it.txt to
/configs/testMixedReplicas-false.AUTOCREATED/lang/contractions_it.txt
[junit4] 2> 934677 INFO (OverseerThreadFactory-5849-thread-1) [ ]
...
[junit4] 2> 934698 INFO (OverseerThreadFactory-5849-thread-1) [ ]
o.a.s.c.c.ZkConfigManager Copying zk node /configs/_default/params.json to
/configs/testMixedReplicas-false.AUTOCREATED/params.json
[junit4] 2> 934699 INFO (OverseerThreadFactory-5849-thread-1) [ ]
o.a.s.c.c.ZkConfigManager Copying zk node /configs/_default/synonyms.txt to
/configs/testMixedReplicas-false.AUTOCREATED/synonyms.txt
[junit4] 2> 934699 INFO (OverseerThreadFactory-5849-thread-1) [ ]
o.a.s.c.c.ZkConfigManager Copying zk node /configs/_default/stopwords.txt to
/configs/testMixedReplicas-false.AUTOCREATED/stopwords.txt
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]