Don't use parallel tests with test suite 1 and 3
authorChocobozzz <me@florianbigard.com>
Wed, 15 May 2019 15:17:14 +0000 (17:17 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 15 May 2019 15:17:14 +0000 (17:17 +0200)
server/tests/api/travis-1.sh
server/tests/api/travis-3.sh

index c9918d58ec39925e912bc5ed9def5ed232733b6a..db4021b2537d761102da798db53d7d92263dade3 100644 (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
index c0e558d348aeb2111344bd8ae77ed2793478573f..82457222cd6469d0f3522f40e59a12314385eb63 100644 (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