[ 
https://issues.apache.org/jira/browse/HADOOP-6306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764222#action_12764222
 ] 

Doug Cutting commented on HADOOP-6306:
--------------------------------------

One think to check how much Ivy uses the network.  Avro uses Ivy but in such a 
way that executing a single test takes only a few seconds.  Part of this is to 
specify absolute version dependencies, so that Ivy doesn't need to make HTTP 
requests to check for more recent versions.  Another is to make sure that the 
check for ivy's jar itself does not make an HTTP request.

> 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.

Reply via email to