You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Wing Lam (JIRA)" <ji...@apache.org> on 2018/01/23 21:15:01 UTC

[jira] [Created] (AMBARI-22837) AmbariAuthorizationFilterTest.testDoFilter_userNoPermissionsAccess fails unexpectedly

Wing Lam created AMBARI-22837:
---------------------------------

             Summary: AmbariAuthorizationFilterTest.testDoFilter_userNoPermissionsAccess fails unexpectedly
                 Key: AMBARI-22837
                 URL: https://issues.apache.org/jira/browse/AMBARI-22837
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: trunk
         Environment: Ubuntu, 16.04 LTS
            Reporter: Wing Lam
             Fix For: trunk


This test requires that the security context not be set up when it runs to pass. If a test that sets up the security context improperly is run before this test, it will fail despite there being no changes in the code.

 

This can be fixed by clearing the security context, as shown in the pull request.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)