You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2013/11/19 20:55:21 UTC

[jira] [Commented] (AMBARI-3817) Unittests for Group resource an all it's attributes

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

Dmitry Lysnichenko commented on AMBARI-3817:
--------------------------------------------

+1

> Unittests for Group resource an all it's attributes
> ---------------------------------------------------
>
>                 Key: AMBARI-3817
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3817
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.5.0
>            Reporter: Eugene Chekanskiy
>            Assignee: Eugene Chekanskiy
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-3817.patch
>
>
> Test resource Group of resource management . Test all actions and all the attributes.
> Here we should mock to test both scenarios where group already exists, and when it's not.
> Note here we should not call directly provider methods like action_create, but make resource management library do that for us, by calling env.run(). In other case test won't cover resources definitions, and other import logic



--
This message was sent by Atlassian JIRA
(v6.1#6144)