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

Yonik Seeley commented on SOLR-10023:
-------------------------------------

bq. Attaching patch that adds a non-recursive test-only

+1, I've been desperately looking for something like this!  I used to maintain 
hacked build scripts privately, but stopped long ago due to the cost of 
maintenance.

bq. tripping somebody up down the road.

Possibly, but one should run the full test suite before committing anything 
anyway.  One could argue that even the ability to run a single test in 
isolation can trip people up (because an assumption is made about the scope of 
a change).


> Improve single unit test run time with ant.
> -------------------------------------------
>
>                 Key: SOLR-10023
>                 URL: https://issues.apache.org/jira/browse/SOLR-10023
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>            Reporter: Mark Miller
>         Attachments: SOLR-10023-add-test-only-target.patch, 
> SOLR-10023-add-test-only-target.patch, stdout.tar.gz
>
>
> It seems to take 2 minutes and 45 seconds to run a single test with the 
> latest build design and the test itself is only 4 seconds. I've noticed this 
> for a long time, and it seems because ant is running through a billion 
> targets first. 
> I haven't checked yet, so maybe it's a Solr specific issue? I'll check with 
> Lucene and move this issue if necessary.
> There is hopefully something we can do to improve this though. At least we 
> should try and get some sharp minds to take first / second look. If I did not 
> use an IDE so much to run tests, this would drive me nuts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to