MDL-45605 Phpunit: Do not call gc_collect_cycles as part of reset.
authorDamyon Wiese <damyon@moodle.com>
Mon, 19 May 2014 02:10:59 +0000 (10:10 +0800)
committerDamyon Wiese <damyon@moodle.com>
Mon, 19 May 2014 02:40:32 +0000 (10:40 +0800)
commitc0f29f18d77759fa0fd96a531c2f014e15fd66a3
tree1d718ea6598a73bcb24ff925e5ff66f16bd27ff9
parent436ef91ceb3cedfbf7297cb9e09ef69c0b323d77
MDL-45605 Phpunit: Do not call gc_collect_cycles as part of reset.

This takes 25% of the time in running tests and there is no benefit. The
behaviour of destructors is the same before/after the patch.

Conflicts:
lib/phpunit/classes/util.php
lib/phpunit/classes/util.php