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
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -69,7 +69,7 @@ class Test_Piwik_Integration_ArchiveCronTest extends IntegrationTestCase
// API Call Without segments
$results[] = array('VisitsSummary.get', array('idSite' => 'all',
'date' => '2012-08-09',
'periods' => array('day', 'week', 'month', 'year')));
'periods' => array('day', 'month', 'year', 'week')));
return $results;
}
......@@ -130,7 +130,7 @@ class Test_Piwik_Integration_ArchiveCronTest extends IntegrationTestCase
// run the command
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");
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter