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

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

Eugene Chekanskiy created AMBARI-3817:
-----------------------------------------

             Summary: 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)