You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Lenni Kuff (JIRA)" <ji...@apache.org> on 2014/11/23 08:22:12 UTC

[jira] [Updated] (SENTRY-540) Fix Sentry test validating special chars in username due to HIVE-8916

     [ https://issues.apache.org/jira/browse/SENTRY-540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lenni Kuff updated SENTRY-540:
------------------------------
    Attachment: SENTRY-540.1.patch

Current fix is to just remove @ from the username being tested.

> Fix Sentry test validating special chars in username due to HIVE-8916
> ---------------------------------------------------------------------
>
>                 Key: SENTRY-540
>                 URL: https://issues.apache.org/jira/browse/SENTRY-540
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Lenni Kuff
>            Assignee: Lenni Kuff
>             Fix For: 1.5.0
>
>         Attachments: SENTRY-540.1.patch
>
>
> Hive was updated to always strip the domain portion of the username of the connecting user. This causes sentry.tests.e2e.hive.TestUserManagement.testGroup7 to fail because the test is validating special characters in usernames. One of the special chars is an @ symbol so when the test case gets executed via Hive the connecting user and the user in the Sentry policy file will not match, causing the unit test to fail.



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