Skip to content
Extraits de code Groupes Projets
Valider 67eb8cfa rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Trying to debug travis failure (disabling most integration tests temporarily).

parent 7be91050
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -661,6 +661,8 @@ class Db
private static function logExtraInfoIfDeadlock($ex)
{
Log::debug($ex); // for debugging travis, remove
if (self::get()->isErrNo($ex, 1213)) {
$deadlockInfo = self::fetchAll("SHOW ENGINE INNODB STATUS");
......
......@@ -3,7 +3,6 @@
* Proxy to index.php, but will use the Test DB
* Used by tests/PHPUnit/Integration/ImportLogsTest.php and tests/PHPUnit/Integration/UITest.php
*/
define('PIWIK_PRINT_ERROR_BACKTRACE', 1);
require realpath(dirname(__FILE__)) . "/includes.php";
......
......@@ -55,6 +55,11 @@ then
then
travis_wait phpunit --configuration phpunit.xml --colors --testsuite $TEST_SUITE --group $PLUGIN_NAME
else
if [ -n "$TEST_SUITE" = "Integration" ]
then
TEST_SUITE=ArchiveWebTest
fi
travis_wait phpunit --configuration phpunit.xml --testsuite $TEST_SUITE --colors
fi
fi
......
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