[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-dev
Subject: [jira] (SOLR-10023) Improve single unit test run time with ant.
From: "Erick Erickson (JIRA)" <jira () apache ! org>
Date: 2017-01-31 21:53:51
Message-ID: JIRA.13036939.1485134974000.2960.1485899631864 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/SOLR-10023?page=com.atlassian.jira.plugin. \
system.issuetabpanels:comment-tabpanel&focusedCommentId=15847579#comment-15847579 ]
Erick Erickson commented on SOLR-10023:
---------------------------------------
Hmmm, it's embarrassing how long I do things the hard way sometimes. Mark just \
commented that "changing to the module is faster". So I decided to try it. Running \
"ant -Dtestcase=TestLazyCores test" takes about 2.5 minutes when run from the root or \
root/solr. It takes 47 seconds when run from root/solr/core. You can't go any farther \
down than root/solr/core. Siiiigggggh.
> 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.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic