[
https://issues.apache.org/jira/browse/AMBARI-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699105#comment-13699105
]
Dmitry Lysnichenko commented on AMBARI-2552:
--------------------------------------------
+1
> 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