1
0
Fork 0

Don't use parallel tests with test suite 1 and 3

This commit is contained in:
Chocobozzz 2019-05-15 17:17:14 +02:00
parent f88392cf68
commit d183ee9bda
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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