Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-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 3BC6010EF1 for ; Mon, 16 Dec 2013 16:34:01 +0000 (UTC) Received: (qmail 81982 invoked by uid 500); 16 Dec 2013 16:33:08 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 81541 invoked by uid 500); 16 Dec 2013 16:32:38 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 81122 invoked by uid 99); 16 Dec 2013 16:32:14 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Dec 2013 16:32:14 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id EDB0C1D3135; Mon, 16 Dec 2013 16:32:12 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8701240563288364281==" MIME-Version: 1.0 Subject: Re: Review Request 15947: ACCUMULO-1944 - functional test coverage From: "Bill Havanki" To: "Bill Havanki" , "accumulo" , "Sean Busbey" Date: Mon, 16 Dec 2013 16:32:12 -0000 Message-ID: <20131216163212.14744.15293@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Bill Havanki" X-ReviewGroup: accumulo X-ReviewRequest-URL: https://reviews.apache.org/r/15947/ X-Sender: "Bill Havanki" References: <20131209170402.6245.31234@reviews.apache.org> In-Reply-To: <20131209170402.6245.31234@reviews.apache.org> Reply-To: "Bill Havanki" X-ReviewRequest-Repository: accumulo --===============8701240563288364281== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit > On Dec. 9, 2013, 12:04 p.m., Sean Busbey wrote: > > test/system/auto/run.py, line 134 > > > > > > nit: could you use the long form invocation that makes it clear what the boolean argument is for? (ignore errors?) Ah, definitely clearer. Thanks. > On Dec. 9, 2013, 12:04 p.m., Sean Busbey wrote: > > test/system/auto/TestUtils.py, lines 275-278 > > > > > > Could we use a more descriptive variable than cp? recommend "settings_classpath" or "generated_classpath" Using settings_classpath in next diff. - Bill ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15947/#review30022 ----------------------------------------------------------- On Dec. 2, 2013, 3:44 p.m., Bill Havanki wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/15947/ > ----------------------------------------------------------- > > (Updated Dec. 2, 2013, 3:44 p.m.) > > > Review request for accumulo. > > > Bugs: ACCUMULO-1944 > https://issues.apache.org/jira/browse/ACCUMULO-1944 > > > Repository: accumulo > > > Description > ------- > > The -C flag for test/system/auto/run.py did not work. This changeset allows it to work again if a functional Cobertura installation is placed under $ACCUMULO_HOME/lib/test/cobertura. > > The code for producing instrumented Accumulo code was inactive and out of date. It was reworked so that, if -C is passed, the Accumulo JARs are instrumented and placed into a location ahead of their standard location in the test classpath. (If -C is not passed, any instrumented JARs are removed.) The classpath is also dynamically adjusted to include whatever Cobertura JAR is available; its name includes a version number (as of 2.0.x). > > The command-line scripts shipped with Cobertura 2.0.x are out of date and do not work out of the box. Pull request #102 was submitted to cobertura/cobertura on Github to fix the problem; in lieu of that, the scripts must be manually updated to use a correct classpath. > > > Diffs > ----- > > test/system/auto/TestUtils.py f6eca67ea7a083408532025c50a80b58e0bcc902 > test/system/auto/run.py 8e1a9bbf1396c72f5a88543315449c5d6fc1dc26 > > Diff: https://reviews.apache.org/r/15947/diff/ > > > Testing > ------- > > Ran simple and stress functional tests on 1.4.5-SNAPSHOT, both with and without -C. Verified that coverage reports are generated. > > > Thanks, > > Bill Havanki > > --===============8701240563288364281==--