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:16:20 UTC

[jira] [Created] (AMBARI-18481) Fix Authentication data is not available error in ConfigGroupResourceProviderTest

Robert Levas created AMBARI-18481:
-------------------------------------

             Summary: 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


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)