You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "liubangchen (JIRA)" <ji...@apache.org> on 2018/09/12 09:22:00 UTC

[jira] [Commented] (HBASE-21160) Assertion in TestVisibilityLabelsWithDeletes#testDeleteColumnsWithoutAndWithVisibilityLabels is ignored

    [ https://issues.apache.org/jira/browse/HBASE-21160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16611808#comment-16611808 ] 

liubangchen commented on HBASE-21160:
-------------------------------------

What about change Throwable to IOException ? what is you opinion?[~yuzhihong@gmail.com]

> Assertion in TestVisibilityLabelsWithDeletes#testDeleteColumnsWithoutAndWithVisibilityLabels is ignored
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-21160
>                 URL: https://issues.apache.org/jira/browse/HBASE-21160
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: liubangchen
>            Priority: Trivial
>
> From https://builds.apache.org/job/PreCommit-HBASE-Build/14327/artifact/patchprocess/diff-compile-javac-hbase-server.txt (HBASE-21138 QA run):
> {code}
> [WARNING] /testptch/hbase/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDeletes.java:[315,25] [AssertionFailureIgnored] This assertion throws an AssertionError if it fails, which will be caught by an enclosing try block.
> {code}
> Here is related code:
> {code}
>       PrivilegedExceptionAction<Void> scanAction = new PrivilegedExceptionAction<Void>() {
>         @Override
>         public Void run() throws Exception {
>           try (Connection connection = ConnectionFactory.createConnection(conf);
> ...
>             assertEquals(1, next.length);
>           } catch (Throwable t) {
>             throw new IOException(t);
>           }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)