Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-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 4554F7AE1 for ; Fri, 7 Oct 2011 00:33:54 +0000 (UTC) Received: (qmail 19618 invoked by uid 500); 7 Oct 2011 00:33:54 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 19560 invoked by uid 500); 7 Oct 2011 00:33:54 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 19541 invoked by uid 99); 7 Oct 2011 00:33:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 00:33:54 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 00:33:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CDE722ADB74 for ; Fri, 7 Oct 2011 00:33:29 +0000 (UTC) Date: Fri, 7 Oct 2011 00:33:29 +0000 (UTC) From: "Scott Kuehn (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1552943885.6197.1317947609844.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1208221472.9753.1316908226127.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4480) Testing script to simplfy local testing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122449#comment-13122449 ] Scott Kuehn commented on HBASE-4480: ------------------------------------ @Jesse, @Ted - The script has been extended with the features: print slow/hanging tests, read test names from a file, select unit or unit+integration tests. usage: {code} usage: ./runtest2.sh [options] [test-name...] Run a set of tests. Individual tests may be specified on the command line or in a file specified by -f=FILE, containing one test per line. Runs all tests by default. options: -h Show this message -f=FILE Run the tests listed in the FILE -u Only run unit tests. Default is to run unit and integration tests -n=N Run each test N times. Default = 1. -s=N Print N slowest tests -H Print which tests are hanging (if any) {code} > Testing script to simplfy local testing > --------------------------------------- > > Key: HBASE-4480 > URL: https://issues.apache.org/jira/browse/HBASE-4480 > Project: HBase > Issue Type: Improvement > Reporter: Jesse Yates > Priority: Minor > Labels: test > Attachments: runtest.sh, runtest2.sh > > > As mentioned by http://search-hadoop.com/m/r2Ab624ES3e and http://search-hadoop.com/m/cZjDH1ykGIA it would be nice if we could have a script that would handle more of the finer points of running/checking our test suite. > This script should: > (1) Allow people to determine which tests are hanging/taking a long time to run > (2) Allow rerunning of particular tests to make sure it wasn't an artifact of running the whole suite that caused the failure > (3) Allow people to specify to run just unit tests or also integration tests (essentially wrapping calls to 'maven test' and 'maven verify'). > This script should just be a convenience script - running tests directly from maven should not be impacted. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira