This was reported @ MDL-64220, but left out from the solution there because it requires serious analysis and can be, simply, an OS limit. Better handle it separately. Environment: Windows 10 x64 and git bash:
A) 1 error, maybe related to MDL-62617
There was 1 error:
|
|
1) moodle_content_writer_test::test_export_user_preference_long_filename with data set "More than 100 characters" ('Etiam sit amet dui vel leo bl...scipit', 'Etiam sit amet dui vel leo bl...a5030d', 'value')
|
ZipArchive::close(): Read error: Bad file descriptor
|
|
C:\Users\stronk7\git_moodle\integration\lib\filestorage\zip_archive.php:224
|
C:\Users\stronk7\git_moodle\integration\lib\filestorage\zip_packer.php:154
|
C:\Users\stronk7\git_moodle\integration\privacy\classes\local\request\moodle_content_writer.php:679
|
C:\Users\stronk7\git_moodle\integration\privacy\tests\moodle_content_writer_test.php:1136
|
C:\Users\stronk7\git_moodle\integration\privacy\tests\moodle_content_writer_test.php:1088
|
C:\Users\stronk7\git_moodle\integration\lib\phpunit\classes\advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit -v "moodle_content_writer_test" privacy/tests/moodle_content_writer_test.php
|
This is about to investigate the issue and see it there is any solution that can be implemented our side.