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

core_cache_testcase::test_static_acceleration fails on some windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.4
    • 3.1.3, 3.2
    • Unit tests

      As spotted by stronk7 on windows 32 bits, any db, php 7, core_cache_testcase::test_static_acceleration fails, because windows only have 1/100 microtime resolution so a lot of times it does not advance "enough".

      https://bugs.php.net/bug.php?id=64633

      3.2rc2
      1 failure (same)
      http://pastebin.com/8HF8MqYL

      As per his recommendation, change those assertGreaterThan() by assertGreaterThanOrEqual() and forget (with a comment explaining it).

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            David Monllaó David Monllaó
            cameron1729 cameron1729
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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