[
https://issues.apache.org/jira/browse/AMBARI-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sumit Mohanty updated AMBARI-2140:
----------------------------------
Affects Version/s: (was: 1.3.0)
1.2.4
> 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.2.4
> 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