Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3787A17CCE for ; Wed, 29 Apr 2015 10:22:20 +0000 (UTC) Received: (qmail 72348 invoked by uid 500); 29 Apr 2015 10:00:14 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 60364 invoked by uid 500); 29 Apr 2015 10:00:08 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 28001 invoked by uid 500); 29 Apr 2015 09:59:33 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 87097 invoked by uid 99); 29 Apr 2015 06:01:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2015 06:01:07 +0000 Date: Wed, 29 Apr 2015 06:01:07 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8394) Skip test cases through setUp() instead of setUpClass() 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/CLOUDSTACK-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14518782#comment-14518782 ] ASF subversion and git services commented on CLOUDSTACK-8394: ------------------------------------------------------------- Commit 69f239afffdb8e9cd6e8d698d65cecbb609d7021 in cloudstack's branch refs/heads/master from [~gauravaradhye] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=69f239a ] CLOUDSTACK-8394: Skipping download ISO tests for simulator Signed-off-by: Gaurav Aradhye This closes #207 > Skip test cases through setUp() instead of setUpClass() > ------------------------------------------------------- > > Key: CLOUDSTACK-8394 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8394 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the default.) > Components: Automation > Affects Versions: Future > Reporter: Gaurav Aradhye > Assignee: Gaurav Aradhye > Labels: automation > Fix For: Future > > > When the tests are skipped through setUpClass, the statement "raise unittest.SkipTest()" is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass and read this variable value in setUp() and skip the test case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)