Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-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 A04AF8FA5 for ; Sat, 17 Sep 2011 06:40:06 +0000 (UTC) Received: (qmail 34235 invoked by uid 500); 17 Sep 2011 06:40:06 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 34136 invoked by uid 500); 17 Sep 2011 06:40:05 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 34116 invoked by uid 99); 17 Sep 2011 06:40:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 06:40:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thehellmaker@gmail.com designates 209.85.218.41 as permitted sender) Received: from [209.85.218.41] (HELO mail-yi0-f41.google.com) (209.85.218.41) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 06:39:58 +0000 Received: by yia25 with SMTP id 25so3721658yia.14 for ; Fri, 16 Sep 2011 23:39:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=wOrA6evVsKk8wlN4Eps9VIpUUUG7dlRkAv01wLHnfuM=; b=jhmjOERJHQx6yTHZ3SLGDHqBC4UgmoIfPhYL0f1Ydo94qhW0IRsxAlwHJDMP7l2klh iWhaA7XN8omqJCpt50E1KIZugNPBZm1ievflEkQiiOPjXCrlRRO9QmRTg8hdg32L85af +7luoq6Benc11tn7X9NXYJOS+v0SvpWxfoZqA= MIME-Version: 1.0 Received: by 10.236.176.35 with SMTP id a23mr1086873yhm.78.1316241578073; Fri, 16 Sep 2011 23:39:38 -0700 (PDT) Received: by 10.236.107.165 with HTTP; Fri, 16 Sep 2011 23:39:38 -0700 (PDT) Date: Sat, 17 Sep 2011 12:09:38 +0530 Message-ID: Subject: Running UnitTests before submitting a patch From: Akash Ashok To: dev@hbase.apache.org Content-Type: multipart/alternative; boundary=20cf303b3ad3b31f1a04ad1d5f08 --20cf303b3ad3b31f1a04ad1d5f08 Content-Type: text/plain; charset=ISO-8859-1 Hi, I was just wondering as to how developers go about running unit tests before they wanna submit a patch. I am not asking about testing the functionality of the patches, but about the whole suite of regression test cases. Firstly I end up running the whole suite without a the patch and second with patch and compare the results. But it turns out most of the times there's always inconsistency. Meaning to say a few tests are erratic. The fail while running the whole suite and pass when run alone. Moreover running the whole test suite takes about 2 hours. This is taking a lot of time for me to work on the simplest of the patches. Could you please share some practices which devs usually follow before submitting patches? It would be of great help. Thanks a lot Cheers, Akash A --20cf303b3ad3b31f1a04ad1d5f08--