From 643b907d2ffc4b4d355e1d070f891490327422a4 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Tue, 30 Aug 2016 07:59:23 +0800 Subject: [PATCH] MDL-55764 behat: Reset static update db list While running multiple suites we should ensure static cli cache is also reset. --- lib/testing/classes/util.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/testing/classes/util.php b/lib/testing/classes/util.php index 1fa55b985a8..fdb4e4e81ce 100644 --- a/lib/testing/classes/util.php +++ b/lib/testing/classes/util.php @@ -948,6 +948,9 @@ abstract class testing_util { if (file_exists($tablesupdatedfile)) { unlink($tablesupdatedfile); } + + // Reset static cache of cli process. + self::reset_updated_table_list(); } /**