hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9339) Extend full test of KMS ACLs
Date Thu, 29 Oct 2015 21:18:27 GMT

    [ https://issues.apache.org/jira/browse/HDFS-9339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14981299#comment-14981299

Daniel Templeton commented on HDFS-9339:

bq. Maybe remove the try-finally and let the entire test fail if setup fails?

If setup throws an exception, the exception isn't caught, so after executing the finally block,
the exception will continue being passed up the stack, eventually causing the test to error.

> Extend full test of KMS ACLs
> ----------------------------
>                 Key: HDFS-9339
>                 URL: https://issues.apache.org/jira/browse/HDFS-9339
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: HDFS
>    Affects Versions: 2.7.1
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
>         Attachments: HDFS-9339.001.patch
> HDFS-9295 adds an end-to-end test for KMS, but it is missing a dimension.  The tests
added in that JIRA hold the configuration constant and test that all operations succeed or
fail as expected.  More tests are needed that hold the operation constant and test that all
possible configurations cause the operations to succeed or fail as expected.  This JIRA is
to add those tests.

This message was sent by Atlassian JIRA

View raw message