Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C5402200B52 for ; Mon, 11 Jul 2016 05:06:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C3E2C160A69; Mon, 11 Jul 2016 03:06:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3D3D2160A66 for ; Mon, 11 Jul 2016 05:06:12 +0200 (CEST) Received: (qmail 61064 invoked by uid 500); 11 Jul 2016 03:06:11 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 61051 invoked by uid 99); 11 Jul 2016 03:06:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2016 03:06:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F1F632C02A1 for ; Mon, 11 Jul 2016 03:06:10 +0000 (UTC) Date: Mon, 11 Jul 2016 03:06:10 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-4361) Test race conditions in ShellServerIT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 11 Jul 2016 03:06:13 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Elser updated ACCUMULO-4361: --------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Merged this through. Thanks for the look again, [~kturner]. Relevant follow-on work filed/bumped: ACCUMULO-4362, ACCUMULO-4128, ACCUMULO-4364, ACCUMULO-4365. > Test race conditions in ShellServerIT > ------------------------------------- > > Key: ACCUMULO-4361 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4361 > Project: Accumulo > Issue Type: Bug > Components: test > Reporter: Josh Elser > Assignee: Josh Elser > Priority: Minor > Fix For: 1.7.3, 1.8.0 > > Time Spent: 1.5h > Remaining Estimate: 0h > > [~romil.choksi] found a test issue where ShellServerIT.getAuths() would intermittently fail. > This is because of the use of ZooCache inside of ZKAuthorizor. The minicluster has two tabletservers. If the shell is so unlucky to update the authorizations on one tserver but then ask for the authorizations on the other tserver, the test is subject to the propagation of the ZK watcher update to fire. > We should just switch over ShellServerIT to run a minicluster with only one tserver than try to hack around this in the test itself with retries. -- This message was sent by Atlassian JIRA (v6.3.4#6332)