[
https://issues.apache.org/jira/browse/HADOOP-6306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764291#action_12764291
]
Konstantin Boudnik commented on HADOOP-6306:
--------------------------------------------
Besides the ivy: even {{-Dtestcase}} is set the build will follow inter-target
dependencies and will check if available classes are up-to-date. I believe the
last part of the JIRA can not be fixed.
Ivy tuning seems to be a viable option.
> ant testcase target should run quickly
> ---------------------------------------
>
> Key: HADOOP-6306
> URL: https://issues.apache.org/jira/browse/HADOOP-6306
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Eli Collins
>
> ant -Dtestcase used to execute in a couple of seconds, now running {{ant
> -Doffline=true -Dtestcase=TestConfiguration test-core}} takes almost 20
> seconds. Most of the overhead seems to be due to ivy, but it also tries to
> compile. Changing {{test-core}} to {{test}} doubles the execution time. It
> would be great to have an ant target that just executes the given test, ie is
> as fast as running the unit test from eclipse.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.