Failing tests due to suppressing sql errors

XMLWordPrintable

      Problems

      1. In SuppressSqlExceptionsTest shouldThrowExceptionOnInsert_ColumnSizeExceeded & shouldThrowExceptionOnUpdate fails on MariaDB 10.0
      2. SuppressSqlExceptionsTest#shouldThrowExceptionOnInsert_ColumnSizeExceeded fails on HistoryLevel == NONE
      3. ManagementServiceTest fails on DB2

      Root Causes

      1. Maria DB 10.0 does not throw an exception when the column size is exceeded; instead, the string is truncated at 255 characters
      2. The test is designed to be executed with a minimum history level of HISTORY_LEVEL_ACTIVITY
      3. The alias RES is missing when selecting columns

      Solutions

      1. Add test annotation @RequiredDatabase(excludes = DbSqlSessionFactory.MARIADB)
      2. Add test annotation @RequiredHistoryLevel(ProcessEngineConfiguration.HISTORY_ACTIVITY)
      3. Add the RES alias when selecting columns

            Assignee:
            Thorben Lindhauer
            Reporter:
            Tassilo Weidner-Mühl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: