-
Bug
-
Resolution: Fixed
-
Major
-
3.0
-
MOODLE_30_STABLE
-
MOODLE_31_STABLE
-
MDL-52060-master-arn -
- Run unit test on all db's
- Make sure run time on mysql is similar to postgres (approx 30 minutes)
- Run behat on all db's (atleast @mod_question)
After random sequence was introduced by MDL-46193, it was observed that the mysql and mariadb is taking double the time to finish unit test. It will be nice to consider following to get best out of testing infrastructure (Suggested by Eloy and Andrew)
1) Set the random-sequences @ install (hacking database generators).
2) Ensure they are stored @ structures.ser and used in sequence reset.
3) Make 1) optional - (via phpunit.xml)
4) Record all the tables with write operations
5) Operate the reset (data and sequences) only against them
6) Kill the imperfect "empties" hack.
- has a non-specific relationship to
-
MDL-52605 Backport MDL-52060: Random sequence used in testing infrastructure should be optional
-
- Closed
-
- has been marked as being related by
-
MDL-52799 Problem on 1st phpunit runs using mariadb (possibly others too)
-
- Closed
-
-
MDL-46193 For unit testing, use random starting sequence
-
- Closed
-
- Testing discovered
-
MDL-52593 Add testing for DB drivers to ensure functionality
-
- Closed
-
- will help resolve
-
MDL-52255 Improve performance of PHPUnit and Behat
-
- Closed
-