MDL-37458 testing lock externalization

This commit is contained in:
David Monllao 2013-01-11 13:57:19 +08:00
parent 6b21986911
commit 3f7211f45a
5 changed files with 103 additions and 35 deletions

View file

@ -136,7 +136,7 @@ if ($diag) {
} else if ($drop) {
// make sure tests do not run in parallel
phpunit_util::acquire_test_lock();
test_lock::acquire('phpunit');
phpunit_util::drop_site(true);
// note: we must stop here because $CFG is messed up and we can not reinstall, sorry
exit(0);