From: Chocobozzz Date: Wed, 15 May 2019 15:17:14 +0000 (+0200) Subject: Don't use parallel tests with test suite 1 and 3 X-Git-Tag: v1.4.0-rc.1~240^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=d183ee9bda2588f07032ca4a2fce58651e684abf;p=github%2FChocobozzz%2FPeerTube.git Don't use parallel tests with test suite 1 and 3 --- diff --git a/server/tests/api/travis-1.sh b/server/tests/api/travis-1.sh index c9918d58e..db4021b25 100644 --- a/server/tests/api/travis-1.sh +++ b/server/tests/api/travis-1.sh @@ -6,5 +6,5 @@ checkParamFiles=$(find server/tests/api/check-params -type f | grep -v index.ts notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) -MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel $1 --timeout 5000 --exit --require ts-node/register --bail \ +MOCHA_PARALLEL=true mocha --timeout 5000 --exit --require ts-node/register --bail \ $notificationsFiles $searchFiles $checkParamFiles diff --git a/server/tests/api/travis-3.sh b/server/tests/api/travis-3.sh index c0e558d34..82457222c 100644 --- a/server/tests/api/travis-3.sh +++ b/server/tests/api/travis-3.sh @@ -4,5 +4,5 @@ set -eu videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo) -MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel $1 --timeout 5000 --exit --require ts-node/register --bail \ +MOCHA_PARALLEL=true mocha --timeout 5000 --exit --require ts-node/register --bail \ $videosFiles