diff --git a/core/CliMulti.php b/core/CliMulti.php index 3e092d84b4f..841386eda4d 100644 --- a/core/CliMulti.php +++ b/core/CliMulti.php @@ -273,6 +273,10 @@ public static function getTmpPath() public function isCommandAlreadyRunning($url) { + if (defined('PIWIK_TEST_MODE')) { + return false; // skip check in tests as it might result in random failures + } + if (!$this->supportsAsync) { // we cannot detect if web archive is still running return false;