Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.5.0
-
None
Description
Intermittently the following exception is thrown when running unit tests for ConfigGroupResourceProviderTest:
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)
This is due to the order in which the test cases are executed and when the authentication context is set.
Attachments
Attachments
Issue Links
- links to