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 D42D6200B4D for ; Fri, 8 Jul 2016 22:27:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D2CCE160A36; Fri, 8 Jul 2016 20:27: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 4C91C160A5A for ; Fri, 8 Jul 2016 22:27:12 +0200 (CEST) Received: (qmail 61055 invoked by uid 500); 8 Jul 2016 20:27: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 61026 invoked by uid 99); 8 Jul 2016 20:27: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 20:27:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EA4D12C029F for ; Fri, 8 Jul 2016 20:27:10 +0000 (UTC) Date: Fri, 8 Jul 2016 20:27:10 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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 20:27:13 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15368380#comment-15368380 ] Josh Elser commented on ACCUMULO-4361: -------------------------------------- bq. AFAIK, we never made a JIRA to track that underlying issue Haha, if you have anything handy, a link for the google-masses would be appreciated by me. Don't spend any time digging though :) > 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 > > > [~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)