Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82C7910C82 for ; Wed, 4 Dec 2013 18:52:36 +0000 (UTC) Received: (qmail 72089 invoked by uid 500); 4 Dec 2013 18:52:36 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 72055 invoked by uid 500); 4 Dec 2013 18:52:36 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 71984 invoked by uid 99); 4 Dec 2013 18:52:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Dec 2013 18:52:36 +0000 Date: Wed, 4 Dec 2013 18:52:36 +0000 (UTC) From: "Dmitry Lysnichenko (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-3969) Unittests for Execute resource an all it's attributes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13839199#comment-13839199 ] Dmitry Lysnichenko commented on AMBARI-3969: -------------------------------------------- +1 > Unittests for Execute resource an all it's attributes > ----------------------------------------------------- > > Key: AMBARI-3969 > URL: https://issues.apache.org/jira/browse/AMBARI-3969 > 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-3969.patch > > > Test resource Execute of resource management . Test all actions and all the attributes. > Here test both string and tuple cmd style. > 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)