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

Lenni Kuff updated SENTRY-534:
------------------------------
    Attachment: SENTRY-534.0.patch

The test setup wasn't writing out the policy file so the "admin" user didn't 
have privileges to execute the operation. I believe the reason this don't fail 
all the time is because of the order of test execution. If this test runs 
first, it will fail, but if another test runs before it the policy file may 
have been created.

Fixed the issue by always writing out the policy file in the setup.

> TestRuntimeMetadataRetrieval fails intermittently
> -------------------------------------------------
>
>                 Key: SENTRY-534
>                 URL: https://issues.apache.org/jira/browse/SENTRY-534
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Lenni Kuff
>            Assignee: Lenni Kuff
>             Fix For: 1.5.0
>
>         Attachments: SENTRY-534.0.patch
>
>
> TestRuntimeMetadataRetrieval fails intermittently. It would be good to make 
> this test robust.



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

Reply via email to