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

Yonik Seeley commented on SOLR-2299:
------------------------------------

I think I'm seeing more exceptions come out of the DIH tests (and the complete 
solr  test suite suddenly takes longer to run too... from ~5 to ~8 min).  Looks 
like it may be related to this issue/changes?

{code}
    [junit] SEVERE: Could not write property file
    [junit] org.apache.solr.handler.dataimport.DataImportHandlerException: 
Unable to persist Index Start Time Processing Document # 2
    [junit]     at 
org.apache.solr.handler.dataimport.SolrWriter.persist(SolrWriter.java:111)
[...]
    [junit] Caused by: java.io.FileNotFoundException: 
solr-dih\conf\dataimport.properties (The system cannot find the path specified)
    [junit]     at java.io.FileOutputStream.open(Native Method)
    [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
    [junit]     at 
org.apache.solr.handler.dataimport.SolrWriter.persist(SolrWriter.java:107)
{code}

This doesn't cause the test to fail for some reason...
Some of the methods are ignored because of TZ issues... but not all seem to 
fall into that category.

> improve test-running from eclipse
> ---------------------------------
>
>                 Key: SOLR-2299
>                 URL: https://issues.apache.org/jira/browse/SOLR-2299
>             Project: Solr
>          Issue Type: Test
>          Components: Build
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2299.patch, SOLR-2299.patch, SOLR-2299_part2.patch
>
>
> In eclipse, its currently difficult to get a solr development environment 
> working.
> One big thing that would help would be to make it easier to run the tests.
> When loading resources, if we checked the config dir + file directory from 
> the resource path,
> then users could simply add src/test/test-files to their eclipse build 
> classpath, and tests would just work from the IDE.
> I gather that this might make things easier for other IDEs too, though I'm 
> aware that ones like Intellij
> let you configure the test 'working directory' on a project basis, but 
> eclipse doesn't 
> (you have to make a custom run configuration every time you run the tests)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to