-
Bug
-
Resolution: Fixed
-
Minor
-
3.8
-
MOODLE_38_STABLE
-
MOODLE_38_STABLE
-
- CI behat tests should be back to pass, without any ''Data export from the privacy API' error.
We have started to get, once again, failures related to the max size of privacy data exports.
001 Scenario: As a student, request data export and then download it when approved, unless it has expired # /Users/stronk7/git_moodle/moodle/admin/tool/dataprivacy/tests/behat/dataexport.feature:67
|
And following "Download" should download between "1" and "142000" bytes # /Users/stronk7/git_moodle/moodle/admin/tool/dataprivacy/tests/behat/dataexport.feature:92
|
Downloaded data was 142801 bytes, expecting between 1 and 142000 (Behat\Mink\Exception\ExpectationException)
|
- Current max size (failing) is 142000
- We have got reports with 142632, 142738, 142789, 142834 sizes
- Curiously it doesn't fail with all databases. PostreSQL leads to files below 1), but MariaDB, SQL*Server... fail. I'd expect all databases to be leading to the same content.
- The issue leading to the increment in sizes is
MDL-66893where a lot of new CSS was added. - We are going to raise the max size to 144000
- This test is "silly". We should try to switch to some other assertions looking for content instead of size.
Working in a fix...