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 413A7DFE8 for ; Thu, 13 Dec 2012 00:35:22 +0000 (UTC) Received: (qmail 89871 invoked by uid 500); 13 Dec 2012 00:35:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 89807 invoked by uid 500); 13 Dec 2012 00:35:21 -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 89666 invoked by uid 99); 13 Dec 2012 00:35:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 00:35:21 +0000 Date: Thu, 13 Dec 2012 00:35:21 +0000 (UTC) From: "Himanshu Vashishtha (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-7343) Fix flaky condition for TestDrainingServer 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-7343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Himanshu Vashishtha updated HBASE-7343: --------------------------------------- Description: The assert statement in setUpBeforeClass() may fail in case the region distribution is not even (a particular rs has 0 regions). {code} junit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:48) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertFalse(Assert.java:34) at junit.framework.Assert.assertFalse(Assert.java:41) at org.apache.hadoop.hbase.TestDrainingServer.setUpBeforeClass(TestDrainingServer.java:83) {code} This is already fixed in trunk with HBASE-5992, but as that's a bigger change and uses 5877, this jira fixes that issue instead of backporting 5992. was: The assert statement in setUpBeforeClass() may fail in case the region distribution is not even (a particular rs has 0 regions). This is already fixed in trunk with HBASE-5992, but as that's a bigger change and uses 5877, this jira fixes that issue instead of backporting 5992. > Fix flaky condition for TestDrainingServer > ------------------------------------------ > > Key: HBASE-7343 > URL: https://issues.apache.org/jira/browse/HBASE-7343 > Project: HBase > Issue Type: Bug > Components: test > Affects Versions: 0.94.3 > Reporter: Himanshu Vashishtha > Priority: Minor > Attachments: HBASE-7343.patch > > > The assert statement in setUpBeforeClass() may fail in case the region distribution is not even (a particular rs has 0 regions). > {code} > junit.framework.AssertionFailedError > at junit.framework.Assert.fail(Assert.java:48) > at junit.framework.Assert.assertTrue(Assert.java:20) > at junit.framework.Assert.assertFalse(Assert.java:34) > at junit.framework.Assert.assertFalse(Assert.java:41) > at org.apache.hadoop.hbase.TestDrainingServer.setUpBeforeClass(TestDrainingServer.java:83) > {code} > This is already fixed in trunk with HBASE-5992, but as that's a bigger change and uses 5877, this jira fixes that issue instead of backporting 5992. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira