Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 51274 invoked from network); 8 Apr 2011 00:11:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2011 00:11:43 -0000 Received: (qmail 94002 invoked by uid 500); 8 Apr 2011 00:11:43 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 93975 invoked by uid 500); 8 Apr 2011 00:11:43 -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 93967 invoked by uid 99); 8 Apr 2011 00:11:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 00:11:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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, 08 Apr 2011 00:11:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BFF0C97F07 for ; Fri, 8 Apr 2011 00:11:05 +0000 (UTC) Date: Fri, 8 Apr 2011 00:11:05 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: issues@hbase.apache.org Message-ID: <931632128.42560.1302221465782.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1731836047.5661.1300235609637.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-3652) Speed up tests by lowering some sleeps 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/HBASE-3652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Daniel Cryans updated HBASE-3652: -------------------------------------- Fix Version/s: (was: 0.92.0) 0.90.3 Summary: Speed up tests by lowering some sleeps (was: Speed up tests that enable/disable) Changing scope, bringing into 0.90.3 since it's harmless. > Speed up tests by lowering some sleeps > -------------------------------------- > > Key: HBASE-3652 > URL: https://issues.apache.org/jira/browse/HBASE-3652 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.90.1 > Reporter: Jean-Daniel Cryans > Priority: Critical > Fix For: 0.90.3 > > Attachments: HBASE-3652.patch > > > While trying TestAdmin in the scope of HBASE-3650, I saw that it takes a lot more time to run than it used to. Upon inspection I see that there's 2 hardcoded 1 second sleeps in DisableTableHandler and EnableTableHandler in waitUntilDone (which is almost the same code in both cases too). Setting that down to 50ms dropped the run time in half... and I'm sure there's a few other sleeps that we could get rid of. > I think that at least those 1sec should be configurable so that we can tune them down in the tests, but I wonder if we need them at all. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira