[
https://issues.apache.org/jira/browse/AMBARI-18481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15533517#comment-15533517
]
Hudson commented on AMBARI-18481:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #95 (See
[https://builds.apache.org/job/Ambari-branch-2.5/95/])
AMBARI-18481. Fix Authentication data is not available error in (rlevas:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b3034b9f22e9243a014b2c53b7919deb40b1be4f])
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ConfigGroupResourceProviderTest.java
> 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)