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

Using MUC in code breaks ttl unit test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.4.2, 2.5
    • 2.4.1, 2.5
    • Caching

      Sam, it seems like any my attempt to use MUC in code leads to breaking the ttl unit test. I will link issues being blocked by this one

      cache_phpunit_tests::test_definition_ttl
      Failed asserting that true is false.
       
      /home/marina/repositories/courserenderers/moodle/cache/tests/cache_test.php:437
      /home/marina/repositories/courserenderers/moodle/lib/phpunit/classes/advanced_testcase.php:76
       
      To re-run:
       /home/marina/pear/bin/phpunit cache_phpunit_tests cache/tests/cache_test.php
      

      If I execute just "To re-run" command, everything is ok. The error occurs only if all unittests are executed

            samhemelryk Sam Hemelryk
            marina Marina Glancy
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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