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 52C21200B38 for ; Fri, 8 Jul 2016 23:07:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 50814160A5A; Fri, 8 Jul 2016 21:07:14 +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 C1DE2160A7D for ; Fri, 8 Jul 2016 23:07:13 +0200 (CEST) Received: (qmail 54058 invoked by uid 500); 8 Jul 2016 21:07: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 53639 invoked by uid 99); 8 Jul 2016 21:07:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2016 21:07:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 523D32C02B5 for ; Fri, 8 Jul 2016 21:07:11 +0000 (UTC) Date: Fri, 8 Jul 2016 21:07:11 +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: Fri, 08 Jul 2016 21:07:14 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Elser updated ACCUMULO-4361: --------------------------------- Status: Patch Available (was: Open) > 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: 20m > 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)