Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22837

AmbariAuthorizationFilterTest.testDoFilter_userNoPermissionsAccess fails unexpectedly

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wingclam Wing Lam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h