[ 
https://issues.apache.org/jira/browse/SOLR-2367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gunnlaugur Thor Briem updated SOLR-2367:
----------------------------------------

    Attachment: SOLR-2367-extend-SolrException.patch

If it helps, here's a patch that makes DataImportHandlerException extend 
SolrException (and deprecates a constructor that seems not to be used 
anywhere). All tests pass, but beyond that this has not been tried out at 
runtime (and maybe the change isn't even appropriate?) ... does this make the 
exception silencing work?

> DataImportHandler unit tests are very noisy
> -------------------------------------------
>
>                 Key: SOLR-2367
>                 URL: https://issues.apache.org/jira/browse/SOLR-2367
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build, contrib - DataImportHandler
>            Reporter: Gunnlaugur Thor Briem
>            Assignee: Robert Muir
>            Priority: Trivial
>         Attachments: SOLR-2367-extend-SolrException.patch, SOLR-2367.patch, 
> SOLR-2367.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> Running DataImportHandler unit tests emits a lot of console noise, mainly 
> stacktraces because dataimport.properties can't be written. This makes it 
> hard to scan the output for useful information.
> I'm attaching a patch to get rid of most of the noise by creating the conf 
> directory before test runs so that the properties file write doesn't fail.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to