]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/travis-4.sh
Decrease max parallel tests for travis
[github/Chocobozzz/PeerTube.git] / server / tests / api / travis-4.sh
index 24bf5b71c8ad9b6118727f241e312d4428272fe6..875986182250af2270e195f6d66f7836d06471bc 100644 (file)
@@ -5,5 +5,5 @@ set -eu
 redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo)
 activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo)
 
-MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel 3 --timeout 5000 --exit --require ts-node/register --bail \
+MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel $1 --timeout 5000 --exit --require ts-node/register --bail \
     $redundancyFiles $activitypubFiles