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 869D47141 for ; Wed, 12 Oct 2011 18:25:33 +0000 (UTC) Received: (qmail 83552 invoked by uid 500); 12 Oct 2011 18:25:33 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 83528 invoked by uid 500); 12 Oct 2011 18:25:33 -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 83520 invoked by uid 99); 12 Oct 2011 18:25:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 18:25:33 +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; Wed, 12 Oct 2011 18:25:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1247B30529E for ; Wed, 12 Oct 2011 18:25:12 +0000 (UTC) Date: Wed, 12 Oct 2011 18:25:12 +0000 (UTC) From: "stack (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1377439648.5925.1318443912076.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1909632531.12403.1318142789755.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4558) Refactor TestOpenedRegionHandler and TestOpenRegionHandler. 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-4558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126017#comment-13126017 ] stack commented on HBASE-4558: ------------------------------ In testOpenedRegionHandlerOnMasterRestart, after you start the cluster, do you open a try so you can catch any exceptions and for sure shutdown the cluster in a finally block? If not, add on commit. +1 on commit. Thanks for making this fix Ram. > Refactor TestOpenedRegionHandler and TestOpenRegionHandler. > ----------------------------------------------------------- > > Key: HBASE-4558 > URL: https://issues.apache.org/jira/browse/HBASE-4558 > Project: HBase > Issue Type: Improvement > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Priority: Minor > Fix For: 0.92.0 > > Attachments: HBASE-4558_1.patch, HBASE-4558_2.patch > > > This is an improvement task taken up to refactor TestOpenedRegionandler and TestOpenRegionHandler so that MockServer and MockRegionServerServices can be accessed from a common utility package. > If we do this then one of the testcases in TestOpenedRegionHandler need not start up a cluster and also moving it into a common package will help in mocking the server for future testcases. -- 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