ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18481) Fix Authentication data is not available error in ConfigGroupResourceProviderTest
Date Wed, 28 Sep 2016 13:33:22 GMT

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

Robert Levas updated AMBARI-18481:
----------------------------------
    Status: Patch Available  (was: In Progress)

> Fix Authentication data is not available error in ConfigGroupResourceProviderTest
> ---------------------------------------------------------------------------------
>
>                 Key: AMBARI-18481
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18481
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18481_branch-2.5_01.patch, AMBARI-18481_trunk_01.patch
>
>
> Intermittently the following exception is thrown when running unit tests for ConfigGroupResourceProviderTest:
> {noformat}
> org.apache.ambari.server.security.authorization.AuthorizationException: Authentication
data is not available, authorization to perform the requested operation is not granted
>   at org.apache.ambari.server.controller.internal.ConfigGroupResourceProviderTest.testGetConfigGroup(ConfigGroupResourceProviderTest.java:695)
>   at org.apache.ambari.server.controller.internal.ConfigGroupResourceProviderTest.testGetConfigGroupAsClusterAdministrator(ConfigGroupResourceProviderTest.java:580)
> {noformat}
> This is due to the order in which the test cases are executed and when the authentication
context is set. 



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

Mime
View raw message