diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2021-08-10 15:50:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 15:50:29 +0300 |
commit | dc696663d4edd14e3b3fed8771e79413ab167450 (patch) | |
tree | d23a50ca068ace681ae0f6c7b9bc70225dc7a2c4 /core/Db | |
parent | 1c287f118dcccbaea6385550e2c1e94969ec2618 (diff) |
Fixing some test failures (#17852)
* fix controller test
* debug travis failure
* debug some more
* more debugging
* more debugging
* another debug
* another debug
* more debug + fix test?
* remove debug changes
* remove forced failure
* ui test change, check status in assert for more information in test output
* check image magick status AFTER comparison threshold check
* try to debug test performance on travis
* try to speed up some tests
* fix test change
* fix test
* update two screenshots
* update UI test again and fix random failure hopefully
* try to get rid of some more random failures
* some more debugging
* try fixing some more random failures
* stop using screenshotSelector in some tests since it (inexplicably) cant find jquery on the test page + mysqli test
* another ui test tweak
* trigger new build
* try fixing more random failures
* updates expected test file
Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'core/Db')
-rw-r--r-- | core/Db/Schema/Mysql.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Db/Schema/Mysql.php b/core/Db/Schema/Mysql.php index a6d6744223..c7afaa6d87 100644 --- a/core/Db/Schema/Mysql.php +++ b/core/Db/Schema/Mysql.php @@ -451,7 +451,7 @@ class Mysql implements SchemaInterface * }); * @param array $result */ - if (count($allTables)) { + if (count($allTables) && empty($GLOBALS['DISABLE_GET_TABLES_INSTALLED_EVENTS_FOR_TEST'])) { Manager::getInstance()->loadPlugins(Manager::getAllPluginsNames()); Piwik::postEvent('Db.getTablesInstalled', [&$allMyTables]); Manager::getInstance()->unloadPlugins(); |