sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shreepadma Venugopalan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-60) TestSolrAuthzBinding does not properly test negative cases
Date Wed, 06 Nov 2013 01:20:17 GMT

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

Shreepadma Venugopalan commented on SENTRY-60:
----------------------------------------------

Committed to master. Thanks, Greg!

> TestSolrAuthzBinding does not properly test negative cases
> ----------------------------------------------------------
>
>                 Key: SENTRY-60
>                 URL: https://issues.apache.org/jira/browse/SENTRY-60
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Gregory Chanan
>            Assignee: Gregory Chanan
>             Fix For: 1.3.0
>
>         Attachments: SENTRY-60.patch
>
>
> {code} 
> expectAuthException(SolrAuthzBinding binding, Subject subject,
>       Collection collection, EnumSet<SearchModelAction> action) throws Exception
{
> {code}
> is supposed to check that an exception happens for the given binding, subject, collection,
and actions, but it ignores the parameters.  This didn't cause a test failure because the
params it uses cause exceptions to be generated anyway.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message