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

David Eric Pugh commented on SOLR-15788:
----------------------------------------

I think we made this argument about keeping Lucene and Solr as one project ;-)  
 However, your concern is a valid one and I've thought about trying to have 
more of our example configs, especially the java ones, that we show in the Ref 
Guide be run as part of the unit testing, like we do with 
{{org.apache.solr.client.ref_guide_examples}}.    I've also thought about using 
some integration test library to essentially run through our examples 
programatically....    

> Remove configset/sample_techproducts_config from being used in unit tests.
> --------------------------------------------------------------------------
>
>                 Key: SOLR-15788
>                 URL: https://issues.apache.org/jira/browse/SOLR-15788
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>    Affects Versions: main (9.0)
>            Reporter: David Eric Pugh
>            Assignee: David Eric Pugh
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This is to remove the use of the method {{legacyExampleCollection1SolrHome}} 
> which points to the 
> {{solr/server/solr/configsets/sample_techproducts_configs}} directory, which 
> means that as we make changes to our techproducts demos in the ref guide, we 
> break unit tests, or, if we change it to support a unit test, we break 
> something else.
> This is to experiment with moving the techproducts configs into 
> {{solr/solrj/test-files}} and {{solr/core/test-files/}} directories, and then 
> trying to slim them down.   I'm going to call the config "testproducts" ;-)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to