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 624ED950D for ; Thu, 29 Sep 2011 23:18:07 +0000 (UTC) Received: (qmail 55416 invoked by uid 500); 29 Sep 2011 23:18:07 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 55379 invoked by uid 500); 29 Sep 2011 23:18:07 -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 55364 invoked by uid 99); 29 Sep 2011 23:18:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 23:18:07 +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; Thu, 29 Sep 2011 23:18:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8EB812A1391 for ; Thu, 29 Sep 2011 23:17:45 +0000 (UTC) Date: Thu, 29 Sep 2011 23:17:45 +0000 (UTC) From: "Jean-Daniel Cryans (Created) (JIRA)" To: issues@hbase.apache.org Message-ID: <1095442025.9675.1317338265586.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HBASE-4519) 25s sleep when expiring sessions in tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 25s sleep when expiring sessions in tests ----------------------------------------- Key: HBASE-4519 URL: https://issues.apache.org/jira/browse/HBASE-4519 Project: HBase Issue Type: Improvement Affects Versions: 0.90.4 Reporter: Jean-Daniel Cryans Fix For: 0.92.0 There's a hardcoded 25 seconds sleep in HBaseTestingUtility.expireSession: {code} int sessionTimeout = 5 * 1000; // 5 seconds ... final long sleep = sessionTimeout * 5L; LOG.info("ZK Closed Session 0x" + Long.toHexString(sessionID) + "; sleeping=" + sleep); Thread.sleep(sleep); {code} I'm pretty sure this can be lowered at lot, and it would speed up a couple of tests. The only thing I'm afraid of is if this was made to accomodate flaky tests. -- 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