You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Robert Levas (JIRA)" <ji...@apache.org> on 2016/09/28 13:33:21 UTC
[jira] [Updated] (AMBARI-18481) Fix Authentication data is not
available error in ConfigGroupResourceProviderTest
[ https://issues.apache.org/jira/browse/AMBARI-18481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Levas updated AMBARI-18481:
----------------------------------
Attachment: AMBARI-18481_trunk_01.patch
AMBARI-18481_branch-2.5_01.patch
> 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)