Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-27983

Simpletest unit test failures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a bug
    • Blocker
    • None
    • 2.1
    • Unit tests
    • MOODLE_21_STABLE
    • Show
      See MDLQA-1148

    Description

      See MDLQA-1148. As tested on QA testing site.

      156/203 test cases complete: 5647 passes, 11 fails and 1 exceptions.

      Fail: lib/dml/simpletest/testdml.php / ► dml_test / ► test_diagnose
      Database self diagnostics failed [String: Database tables are using MyISAM database engine, it is recommended to use ACID compliant engine with full transaction support such as InnoDB.] should be null at [/html/lib/dml/simpletest/testdml.php line 113]
      Fail: lib/dml/simpletest/testdml.php / ► dml_test / ► test_unique_index_collation_trouble
      Unique index is accent insensitive, this may cause problems for non-ascii languages. This is usually caused by accent insensitive default collation. at [/html/lib/dml/simpletest/testdml.php line 3058]
      Exception: lib/dml/simpletest/testdml.php / ► dml_test / ► test_unique_index_collation_trouble
      Unexpected exception of type [dml_write_exception] with message [Error writing to database] in [/html/lib/dml/moodle_database.php line 396]

      Debug info:

      Duplicate entry 'aäa' for key 'mdl_unittabl_nam_uix'
      INSERT INTO mdl_unit_table (name) VALUES
      [array (
      0 => 'aäa',
      )]

      • line 878 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
      • line 920 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
      • line 3052 of /lib/dml/simpletest/testdml.php: call to mysqli_native_moodle_database->insert_record()
      • line ... of ...

      Fail: lib/dml/simpletest/testdml.php / ► dml_test / ► test_sql_binary_equal
      SQL operator "=" is expected to be accent sensitive at [/html/lib/dml/simpletest/testdml.php line 3086]
      Fail: lib/dml/simpletest/testdml.php / ► dml_test / ► test_sql_binary_equal
      SQL operator "=" is expected to be case sensitive at [/html/lib/dml/simpletest/testdml.php line 3089]
      Fail: lib/dml/simpletest/testdml.php / ► dml_test / ► test_onelevel_rollback
      Equal expectation fails because [Integer: 0] differs from [String: 1] by 1 at [/html/lib/dml/simpletest/testdml.php line 3596]
      Fail: lib/dml/simpletest/testdml.php / ► dml_test / ► test_nested_transactions
      Equal expectation fails because [Integer: 0] differs from [String: 2] by 2 at [/html/lib/dml/simpletest/testdml.php line 3642]
      Fail: lib/dml/simpletest/testdml.php / ► dml_test / ► test_nested_transactions
      Equal expectation fails because [Integer: 0] differs from [String: 2] by 2 at [/html/lib/dml/simpletest/testdml.php line 3671]
      Fail: lib/dml/simpletest/testdml.php / ► dml_test / ► test_wrong_transactions
      Equal expectation fails because [Integer: 0] differs from [String: 2] by 2 at [/html/lib/dml/simpletest/testdml.php line 3739]
      Fail: lib/dml/simpletest/testdml.php / ► dml_test / ► test_concurent_transactions
      Equal expectation fails because [Integer: 0] differs from [String: 1] by 1 at [/html/lib/dml/simpletest/testdml.php line 3825]
      Fail: lib/dml/simpletest/testdml.php / ► dml_test / ► test_concurent_transactions
      Equal expectation fails because [Integer: 1] differs from [String: 2] by 1 at [/html/lib/dml/simpletest/testdml.php line 3828]

      Fail: lib/simpletest/testtextlib.php / ► textlib_test / ► test_asort
      Collation aware sorting not supported, PHP extension "intl" is not available. at [/html/lib/simpletest/testtextlib.php line 59]

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              tsala Helen Foster
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.