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

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

> Seems like executing a test shouldn't require an internet connection.

Ivy doesn't require an internet connection if you do the things I suggested 
above: use absolute versions and don't have Ant use HTTP-head to check whether 
Ivy's jar is up-to-date each time.  These are good changes regardless, as they 
permit arbitrary offline development.


> 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