lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Updated: (SOLR-2367) DataImportHandler unit tests are very noisy
Date Wed, 16 Feb 2011 17:28:24 GMT


Robert Muir updated SOLR-2367:

    Attachment: SOLR-2367.patch

Thanks for the patch. I modified it, to just specify the absolute path to these directories.

this way we don't have to make any useless directories underneath the CWD.

Separately, as far as the exceptions, this is in the test TestErrorHandling, its 'expected
exceptions'. I tried to modify this test to use the 'expected exception' logic in SolrTestCaseJ4,
etc, but I could not make it work. 

I think this is because DIH throws DataImportHandlerExceptions (extends RuntimeException)
instead of ones that extend SolrException?

> DataImportHandler unit tests are very noisy
> -------------------------------------------
>                 Key: SOLR-2367
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build, contrib - DataImportHandler
>            Reporter: Gunnlaugur Thor Briem
>            Assignee: Robert Muir
>            Priority: Trivial
>         Attachments: 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 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:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message