mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-37458 testing lock externalization
This commit is contained in:
parent
6b21986911
commit
3f7211f45a
5 changed files with 103 additions and 35 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue