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 5F23A10DCD for ; Tue, 21 Jan 2014 18:20:33 +0000 (UTC) Received: (qmail 15294 invoked by uid 500); 21 Jan 2014 18:20:32 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 15230 invoked by uid 500); 21 Jan 2014 18:20:32 -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 15219 invoked by uid 99); 21 Jan 2014 18:20:32 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 18:20:32 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 7E73B1D44D2; Tue, 21 Jan 2014 18:20:31 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4761621293726250843==" MIME-Version: 1.0 Subject: Re: Review Request 17146: Modify Unittest.py for running test Component Scripts From: "Dmitro Lisnichenko" To: "Andrew Onischuk" , "Dmitro Lisnichenko" Cc: "Ambari" , "Eugene Chekanskiy" Date: Tue, 21 Jan 2014 18:20:31 -0000 Message-ID: <20140121182031.4981.74131@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Dmitro Lisnichenko" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/17146/ X-Sender: "Dmitro Lisnichenko" References: <20140121181044.4981.95786@reviews.apache.org> In-Reply-To: <20140121181044.4981.95786@reviews.apache.org> Reply-To: "Dmitro Lisnichenko" X-ReviewRequest-Repository: ambari --===============4761621293726250843== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/17146/#review32385 ----------------------------------------------------------- Ship it! Ship It! - Dmitro Lisnichenko On Jan. 21, 2014, 6:10 p.m., Eugene Chekanskiy wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/17146/ > ----------------------------------------------------------- > > (Updated Jan. 21, 2014, 6:10 p.m.) > > > Review request for Ambari, Andrew Onischuk and Dmitro Lisnichenko. > > > Bugs: AMBARI-4370 > https://issues.apache.org/jira/browse/AMBARI-4370 > > > Repository: ambari > > > Description > ------- > > Modified unittest.py to run stack tests. All tests must be located in /stacks/stack_version/component directories. Test files must be with following names: test_*.py. If test contain some none test directories, we need to include them in STACK_EXCLUDE and/or SERVICE_EXCLUDE. All tests for stack-component pair are running in sub-process, to prevent conflicts with module names. All python tests of ambari-server are passed. Also, as tests for different components run in separate test run, statistics for every run accumulated and shown in the end. > > > Diffs > ----- > > ambari-server/pom.xml 02fd326 > ambari-server/src/test/python/unitTests.py 9448bb6 > > Diff: https://reviews.apache.org/r/17146/diff/ > > > Testing > ------- > > Tested ambari-server python tests with already commited components tests. Example of non successful test run: > ---------------------------------------------------------------------- > Component tests with errors: > stack:2.1.1 service:ZOOKEEPER > stack:2.1.1 service:HBASE > ---------------------------------------------------------------------- > Total run:217 > Total errors:0 > Total failures:3 > Total skipped:0 > ERROR > > > Thanks, > > Eugene Chekanskiy > > --===============4761621293726250843==--