Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-410

Some negative test cases do not check for specific Sentry exceptions

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.0
    • None
    • None
    • None

    Description

      in Context.java:

      // verify that the sqlexception is due to authorization failure
        public void verifyAuthzException(SQLException sqlException) throws SQLException{
          verifyAuthzExceptionForState(sqlException, AUTHZ_EXCEPTION_SQL_STATE);
        }
      

      This just checks for status 42000, which would also be the case for other failures other than SemanticExceptions. We need to make stronger checks in the tests.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sravya Sravya Tirukkovalur
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: