sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-1009) Improve TestDatabaseProvider to validate test object names instead of validating vague numbers.
Date Fri, 15 Jan 2016 22:07:39 GMT

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

Anne Yu commented on SENTRY-1009:
---------------------------------

We started to see many TestDatabaseProvider test failures because it validate number of test
objects instead of test object names. Because there are some system roles are created in the
environment, so the number of objects are usually larger than expected. Improved the test
cases. Also catch the exception whenever cleanup fails since we don't need to do anything.

> Improve TestDatabaseProvider to validate test object names instead of validating vague
numbers.
> -----------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-1009
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1009
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 1.7.0
>            Reporter: Anne Yu
>            Assignee: Anne Yu
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message