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 B7F2B17EFF for ; Mon, 16 Mar 2015 08:25:38 +0000 (UTC) Received: (qmail 74929 invoked by uid 500); 16 Mar 2015 08:25:38 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 74875 invoked by uid 500); 16 Mar 2015 08:25:38 -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 74864 invoked by uid 99); 16 Mar 2015 08:25:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 08:25:38 +0000 Date: Mon, 16 Mar 2015 08:25:38 +0000 (UTC) From: "Ashish Singhi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-13246) Correct the assertion for namespace permissions in tearDown method of TestAccessController 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-13246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Singhi updated HBASE-13246: ---------------------------------- Attachment: HBASE-13246-branch-1.patch > Correct the assertion for namespace permissions in tearDown method of TestAccessController > ------------------------------------------------------------------------------------------ > > Key: HBASE-13246 > URL: https://issues.apache.org/jira/browse/HBASE-13246 > Project: HBase > Issue Type: Bug > Components: security, test > Affects Versions: 0.98.11 > Reporter: Ashish Singhi > Assignee: Ashish Singhi > Priority: Minor > Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.12 > > Attachments: HBASE-13246-branch-1.patch, HBASE-13246.patch > > > In *TestAcessController#tearDown* we should use {{TEST_TABLE.getNamespaceAsString()}} instead of {{TEST_TABLE.getNameAsString()}} as the assertion is for namespace. > {code} > assertEquals(0, AccessControlLists.getNamespacePermissions(conf, TEST_TABLE.getTableName().getNamespaceAsString()).size()); > {code} > Some credit goes to [~srikanth235] to indirectly point this out [here|https://issues.apache.org/jira/browse/HBASE-13241?focusedCommentId=14361995&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14361995] -- This message was sent by Atlassian JIRA (v6.3.4#6332)