You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2016/05/19 23:56:13 UTC

[jira] [Created] (SENTRY-1281) runTestAsSubject in SentryServiceIntegration is used unnecessarily in many tests

Sravya Tirukkovalur created SENTRY-1281:
-------------------------------------------

             Summary: runTestAsSubject in SentryServiceIntegration is used unnecessarily in many tests
                 Key: SENTRY-1281
                 URL: https://issues.apache.org/jira/browse/SENTRY-1281
             Project: Sentry
          Issue Type: Test
            Reporter: Sravya Tirukkovalur


We need to use doAs only when making the connection, after which point we do not have to use it. I see there are many test cases which are wrapping the entire test case in doAS which is a overkill and sets a wrong precedence for future test writers. We should clean this up.






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)