incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-3274) Add ambari client unit test to the main mvn test target so that the unit tests are always run as part of the build.
Date Thu, 19 Sep 2013 14:53:51 GMT

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

Andrew Onischuk commented on AMBARI-3274:
-----------------------------------------

The first one it probably because you don't have pycurl lib installed on your machine. Actually
it is not required for running tests, so the only problem is unresolved import, and a few
calls to it. However, we can solve that with fake mock import. Please take a look at the patch.

Also I've tested 
mvn clean install
and
mvn -X -B -e clean install package rpm:rpm -DskipTests -Dpython.ver="python >= 2.6"

both work fine, rpm is genereted.



                
> Add ambari client unit test to the main mvn test target so that the unit tests are always
run as part of the build.
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-3274
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3274
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.4.1
>
>         Attachments: AMBARI-3274_2.patch, AMBARI-3274.patch
>
>
> Add ambari client unit test to the main mvn test target so that the unit tests are always
run as part of the build.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message