MDL-45606 Unit test fix for MySQL and added a comment about the removed code.

This commit is contained in:
Damyon Wiese
2014-05-20 18:07:28 +08:00
committed by Marina Glancy
parent af8bd4de8e
commit e679a371ef
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -112,6 +112,9 @@ class phpunit_util extends testing_util {
// Stop any message redirection.
phpunit_util::stop_event_redirection();
// We used to call gc_collect_cycles here to ensure desctructors were called between tests.
// This accounted for 25% of the total time running phpunit - so we removed it.
// Show any unhandled debugging messages, the runbare() could already reset it.
self::display_debugging_messages();
self::reset_debugging();