Skip to content
Extraits de code Groupes Projets
Valider 1e6eede7 rédigé par mattab's avatar mattab
Parcourir les fichiers

Tweaks to see if it helps the last build failure...

parent b41600e1
Branches
Étiquettes
Aucune requête de fusion associée trouvée
...@@ -69,7 +69,7 @@ class Test_Piwik_Integration_ArchiveCronTest extends IntegrationTestCase ...@@ -69,7 +69,7 @@ class Test_Piwik_Integration_ArchiveCronTest extends IntegrationTestCase
// API Call Without segments // API Call Without segments
$results[] = array('VisitsSummary.get', array('idSite' => 'all', $results[] = array('VisitsSummary.get', array('idSite' => 'all',
'date' => '2012-08-09', 'date' => '2012-08-09',
'periods' => array('day', 'week', 'month', 'year'))); 'periods' => array('day', 'month', 'year', 'week')));
return $results; return $results;
} }
...@@ -130,7 +130,7 @@ class Test_Piwik_Integration_ArchiveCronTest extends IntegrationTestCase ...@@ -130,7 +130,7 @@ class Test_Piwik_Integration_ArchiveCronTest extends IntegrationTestCase
// run the command // run the command
exec($cmd, $output, $result); exec($cmd, $output, $result);
if ($result !== 0) { if ($result !== 0 || stripos($result, "error")) {
throw new Exception("archive cron failed: " . implode("\n", $output) . "\n\ncommand used: $cmd"); throw new Exception("archive cron failed: " . implode("\n", $output) . "\n\ncommand used: $cmd");
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter