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

File storage unittests failures on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.3
    • Files API
    • None
    • MOODLE_33_STABLE

      When running unittests on master on windows:

      There were 8 failures:
       
      1) core_files_file_system_filedir_testcase::test_get_fulldir_from_hash with data set #0 ('eee4943847a35a4b6942c6f96daaf...cfdfab', 'ee/e4')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'C:\moodledata\mmaster2phpunit/filedir/ee/e4'
      +'C:\moodledata\mmaster2phpunit/filedir\ee/e4'
       
      C:\Apache24\htdocs\mmaster2\lib\filestorage\tests\file_system_filedir_test.php:293
      C:\Apache24\htdocs\mmaster2\lib\phpunit\classes\advanced_testcase.php:80
       
      To re-run:
       vendor\bin\phpunit -v core_files_file_system_filedir_testcase lib\filestorage\tests\file_system_filedir_test.php
       
      2) core_files_file_system_filedir_testcase::test_get_fulldir_from_hash with data set #1 ('aef05a62ae81ca0005d2569447779...b7cda0', 'ae/f0')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'C:\moodledata\mmaster2phpunit/filedir/ae/f0'
      +'C:\moodledata\mmaster2phpunit/filedir\ae/f0'
       
      C:\Apache24\htdocs\mmaster2\lib\filestorage\tests\file_system_filedir_test.php:293
      C:\Apache24\htdocs\mmaster2\lib\phpunit\classes\advanced_testcase.php:80
       
      To re-run:
       vendor\bin\phpunit -v core_files_file_system_filedir_testcase lib\filestorage\tests\file_system_filedir_test.php
       
      3) core_files_file_system_filedir_testcase::test_get_fulldir_from_storedfile with data set #0 ('eee4943847a35a4b6942c6f96daaf...cfdfab', 'ee/e4')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'C:\moodledata\mmaster2phpunit/filedir/ee/e4'
      +'C:\moodledata\mmaster2phpunit/filedir\ee/e4'
       
      C:\Apache24\htdocs\mmaster2\lib\filestorage\tests\file_system_filedir_test.php:323
      C:\Apache24\htdocs\mmaster2\lib\phpunit\classes\advanced_testcase.php:80
       
      To re-run:
       vendor\bin\phpunit -v core_files_file_system_filedir_testcase lib\filestorage\tests\file_system_filedir_test.php
       
      4) core_files_file_system_filedir_testcase::test_get_fulldir_from_storedfile with data set #1 ('aef05a62ae81ca0005d2569447779...b7cda0', 'ae/f0')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'C:\moodledata\mmaster2phpunit/filedir/ae/f0'
      +'C:\moodledata\mmaster2phpunit/filedir\ae/f0'
       
      C:\Apache24\htdocs\mmaster2\lib\filestorage\tests\file_system_filedir_test.php:323
      C:\Apache24\htdocs\mmaster2\lib\phpunit\classes\advanced_testcase.php:80
       
      To re-run:
       vendor\bin\phpunit -v core_files_file_system_filedir_testcase lib\filestorage\tests\file_system_filedir_test.php
       
      5) core_files_file_system_filedir_testcase::test_get_trash_fullpath_from_hash with data set #0 ('eee4943847a35a4b6942c6f96daaf...cfdfab', 'ee/e4')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'C:\moodledata\mmaster2phpunit/trashdir/ee/e4/eee4943847a35a4b6942c6f96daafde06bcfdfab'
      +'C:\moodledata\mmaster2phpunit/trashdir\ee/e4/eee4943847a35a4b6942c6f96daafde06bcfdfab'
       
      C:\Apache24\htdocs\mmaster2\lib\filestorage\tests\file_system_filedir_test.php:380
      C:\Apache24\htdocs\mmaster2\lib\phpunit\classes\advanced_testcase.php:80
       
      To re-run:
       vendor\bin\phpunit -v core_files_file_system_filedir_testcase lib\filestorage\tests\file_system_filedir_test.php
       
      6) core_files_file_system_filedir_testcase::test_get_trash_fullpath_from_hash with data set #1 ('aef05a62ae81ca0005d2569447779...b7cda0', 'ae/f0')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'C:\moodledata\mmaster2phpunit/trashdir/ae/f0/aef05a62ae81ca0005d2569447779af062b7cda0'
      +'C:\moodledata\mmaster2phpunit/trashdir\ae/f0/aef05a62ae81ca0005d2569447779af062b7cda0'
       
      C:\Apache24\htdocs\mmaster2\lib\filestorage\tests\file_system_filedir_test.php:380
      C:\Apache24\htdocs\mmaster2\lib\phpunit\classes\advanced_testcase.php:80
       
      To re-run:
       vendor\bin\phpunit -v core_files_file_system_filedir_testcase lib\filestorage\tests\file_system_filedir_test.php
       
      7) core_files_file_system_filedir_testcase::test_get_trash_fulldir_from_hash with data set #0 ('eee4943847a35a4b6942c6f96daaf...cfdfab', 'ee/e4')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'C:\moodledata\mmaster2phpunit/trashdir/ee/e4'
      +'C:\moodledata\mmaster2phpunit/trashdir\ee/e4'
       
      C:\Apache24\htdocs\mmaster2\lib\filestorage\tests\file_system_filedir_test.php:400
      C:\Apache24\htdocs\mmaster2\lib\phpunit\classes\advanced_testcase.php:80
       
      To re-run:
       vendor\bin\phpunit -v core_files_file_system_filedir_testcase lib\filestorage\tests\file_system_filedir_test.php
       
      8) core_files_file_system_filedir_testcase::test_get_trash_fulldir_from_hash with data set #1 ('aef05a62ae81ca0005d2569447779...b7cda0', 'ae/f0')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'C:\moodledata\mmaster2phpunit/trashdir/ae/f0'
      +'C:\moodledata\mmaster2phpunit/trashdir\ae/f0'
       
      C:\Apache24\htdocs\mmaster2\lib\filestorage\tests\file_system_filedir_test.php:400
      C:\Apache24\htdocs\mmaster2\lib\phpunit\classes\advanced_testcase.php:80
       
      To re-run:
       vendor\bin\phpunit -v core_files_file_system_filedir_testcase lib\filestorage\tests\file_system_filedir_test.php
      
      

            Unassigned Unassigned
            marina Marina Glancy
            Votes:
            1 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.