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 B318917F7A for ; Sat, 22 Nov 2014 02:43:34 +0000 (UTC) Received: (qmail 63790 invoked by uid 500); 22 Nov 2014 02:43:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 63732 invoked by uid 500); 22 Nov 2014 02:43:34 -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 63719 invoked by uid 99); 22 Nov 2014 02:43:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Nov 2014 02:43:34 +0000 Date: Sat, 22 Nov 2014 02:43:34 +0000 (UTC) From: "Virag Kothari (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12549) Fix TestAssignmentManagerOnCluster#testAssignRacingWithSSH() flaky test 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-12549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Virag Kothari updated HBASE-12549: ---------------------------------- Attachment: HBASE-12459-addendum.patch TestAssignmentManagerOnCluster.testAssignRegionBySSH is failing in 1.0 builds because of this (E.g https://builds.apache.org/job/HBase-1.0/487/). Attached patch tries to fix this by waiting for master to be active and initialized. > Fix TestAssignmentManagerOnCluster#testAssignRacingWithSSH() flaky test > ----------------------------------------------------------------------- > > Key: HBASE-12549 > URL: https://issues.apache.org/jira/browse/HBASE-12549 > Project: HBase > Issue Type: Test > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 2.0.0, 0.98.9, 0.99.2 > > Attachments: HBASE-12459-addendum.patch, hbase-12549_v1.patch > > > TestAssignmentManagerOnCluster#testAssignRacingWithSSH() runs on average 40 sec, with 60 sec timeout. This causes flakiness. > The fix is easy. One of the earlier tests increases the hbase.assignment.maximum.attempts from 3 to 10. Then testAssignRacingWithSSH() is ran with 10 attempts causing slowness. -- This message was sent by Atlassian JIRA (v6.3.4#6332)