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

Using MUC in code breaks ttl unit test

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4.1, 2.5
    • Fix Version/s: 2.4.2, 2.5
    • Component/s: Caching
    • Labels:

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Mar/13