You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2013/05/16 19:05:17 UTC
[jira] [Commented] (AMBARI-2140) Improve Ambari-agent test coverage
[ https://issues.apache.org/jira/browse/AMBARI-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659711#comment-13659711 ]
Sumit Mohanty commented on AMBARI-2140:
---------------------------------------
Go ahead and commit, +1
> Improve Ambari-agent test coverage
> ----------------------------------
>
> Key: AMBARI-2140
> URL: https://issues.apache.org/jira/browse/AMBARI-2140
> Project: Ambari
> Issue Type: Task
> Components: agent
> Affects Versions: 1.3.0
> Reporter: Siddharth Wagle
> Assignee: Siddharth Wagle
> Fix For: 1.3.0
>
> Attachments: AMBARI-2140-1.patch, AMBARI-2140-2.patch
>
>
> TestController.py
> - /src/test/python/TestController.py:154 test method is not executed def test_heartbeatWithServer(self, installMock, buildMock):
> main.py
> - not covered by tests
> StackVersionsFileHandler.py
> - write_stack_version not covered, dumps data to text file
> UpgradeExecutor.py
> - /src/main/python/ambari_agent/UpgradeExecutor.py:70 and /src/main/python/ambari_agent/UpgradeExecutor.py:164 code blocks are not covered with tests
> security.py
> - is not covered
--
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