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

Windows PHPUnit errors introduced in 3.0.4 (unclosed files)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.5
    • 3.0.4
    • Backup, Unit tests
    • Moodle 3.0.4 (Build: 20160509), d97b3d4c81e89e7495478e40a5ff25a22d6e7a5f
      Php: 7.0.0, Postgres: 9.4.5, OS: Windows NT 10.0 AMD64
    • PostgreSQL
    • MOODLE_30_STABLE
    • MOODLE_30_STABLE
    • Hide

      On Windows, run the following and confirm that it passes:

      vendor\bin\phpunit core_course_restore_testcase course/tests/restore_test.php

      Show
      On Windows , run the following and confirm that it passes: vendor\bin\phpunit core_course_restore_testcase course/tests/restore_test.php

      When running the unit tests for 3.0.4 on Windows, I'm seeing thousands of failures due to permission issues when attempting to unlink / delete files in the temp directory. I have confirmed that this is not happening on 3.0.3 with exactly the same configuration, so it looks like 3.0.4 may have introduced something to cause these to fail.

      It appears to be a similar issue to MDL-54205, but that is marked as only happening in 3.1.

            maherne Michael Aherne
            maherne Michael Aherne
            Rajesh Taneja Rajesh Taneja
            Andrew Lyons Andrew Lyons
            cameron1729 cameron1729
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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