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

Using MUC in code breaks ttl unit test

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.4.1, 2.5
    • 2.4.2, 2.5
    • Caching

    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

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              marina Marina Glancy
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Mar/13