Skip to content

Commit

Permalink
Skip CLIMulti check for already running commands in tests (matomo-org…
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl authored and InfinityVoid committed Oct 11, 2018
1 parent 57eba04 commit 603bcfe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/CliMulti.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 603bcfe

Please sign in to comment.