You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2013/07/03 17:54:22 UTC

[jira] [Commented] (AMBARI-2552) Ambari-agent test coverage

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

Vitaly Brodetskyi commented on AMBARI-2552:
-------------------------------------------

Attached a patch
                
> Ambari-agent test coverage
> --------------------------
>
>                 Key: AMBARI-2552
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2552
>             Project: Ambari
>          Issue Type: Task
>          Components: agent
>    Affects Versions: 1.2.3
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>             Fix For: 1.3.0
>
>         Attachments: AMBARI-2552.patch
>
>
> Hardware.py
>  - parseFacterOutput is not covered
> HostInfo.py
>  - has no it's own tests, but is tested indirectly via Heartbeat.py/Register.py
> manifestGenerator.py
>  - normalizeTaskParams is not covered
>  - writeNodes/writeParams/writeHostAttributes/writeTasks/writeStages are not covered.
> Heartbeat.py
>  - /src/main/python/ambari_agent/Heartbeat.py:64 logic branch is not tested
> Register.py
>  - doExec/machineInfo are not tested

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