Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-24905 Unit tests fail
  3. MDL-24909

Unit test time limit is per class, causes gradebook unit tests to sometimes fail

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Exception: lib/grade/simpletest/testgradecategory.php / ? grade_category_test / ? test_grade_category_construct
      Unexpected exception of type [ddl_exception] with message [XML database file errors found] in [/fs2/www/html/sm449/coremoodle/lib/ddl/database_manager.php line 390]

      Debug info:

      Errors found in XMLDB file: XML Error: Opening and ending tag mismatch: secondtag line 0 and wrongtag at line 4.

      • line 425 of /lib/ddl/database_manager.php: call to database_manager->load_xmldb_file()
      • line ... of ...
      • line 80 of /lib/simpletest/fixtures/gradetest.php: call to UnitTestCaseUsingDatabase->create_test_tables()
      • line ... of ...

      Exception: lib/grade/simpletest/testgradecategory.php / ? grade_category_test / ? test_grade_category_build_path
      Unexpected exception of type [ddl_exception] with message [XML database file errors found] in [/fs2/www/html/sm449/coremoodle/lib/ddl/database_manager.php line 390]

      Debug info:

      Errors found in XMLDB file: XML Error: Opening and ending tag mismatch: secondtag line 0 and wrongtag at line 4.

      • line 425 of /lib/ddl/database_manager.php: call to database_manager->load_xmldb_file()
      • line ... of ...
      • line 80 of /lib/simpletest/fixtures/gradetest.php: call to UnitTestCaseUsingDatabase->create_test_tables()
      • line ... of ...

      ... and many more

        Attachments

          Activity

            People

            Assignee:
            quen Sam Marshall
            Reporter:
            quen Sam Marshall
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10