Hi, I'm trying to run moodle PHPUnit tests on GitLab CI server. The thing is it times out after an hour going only about halfway through. I'm very new to unit testing and was wondering how long those tests should normally take, or am I doing it wrong? Thanks
Hello Tomasz,
Unit test time depends on your system performance. On a fast machine with SSD and fast processor it will take around 18 min (pgsql). On a slow machine it might take upto 45 min.
Saying so, mysql is slow because of bug and after MDL-52060 gets fixed, it should be same as postgres run time.
Hope this helps.
Thanks