[
https://issues.apache.org/jira/browse/AMBARI-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sumit Mohanty updated AMBARI-2217:
----------------------------------
Attachment: AMBARI-2217.patch
AMBARI-2217-II.patch
> Increase ambari-agent test coverage
> -----------------------------------
>
> Key: AMBARI-2217
> URL: https://issues.apache.org/jira/browse/AMBARI-2217
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 1.2.4
> Reporter: Sumit Mohanty
> Assignee: Sumit Mohanty
> Fix For: 1.2.4
>
> Attachments: AMBARI-2217-II.patch, AMBARI-2217.patch
>
>
> ActionQueue.py
> - missing "Unrecognized command" testcase (L. 173)
> - /src/test/python/TestActionQueue.py:42 unused test_RetryAction stub (retry
> is implemented in another way)
> - /src/main/python/ambari_agent/ActionQueue.py:221 not covered case if
> commandresult['exitcode'] != 0:
> - /src/main/python/ambari_agent/ActionQueue.py:247 not covered case if
> command.has_key('roleCommand') and command['roleCommand'] == 'START':
> PuppetExecutor.py
> - configureEnviron/generate_repo_manifests/run_manifest/runCommand are not
> covered.
> PythonExecutor.py
> - isSuccessfull is not tested
> RepoInstaller.py
> - prepareReposInfo/generateFiles are not covered
> shell.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