aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/travis-4.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-24 09:21:22 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commit24163420dd43e3429976c8518d1752832ba910a4 (patch)
tree2565a916b4f5c789ff4120828f02b0709754607a /server/tests/api/travis-4.sh
parentc9e3eeedad67649d9b7aec8897b738d0ad63ec1f (diff)
downloadPeerTube-24163420dd43e3429976c8518d1752832ba910a4.tar.gz
PeerTube-24163420dd43e3429976c8518d1752832ba910a4.tar.zst
PeerTube-24163420dd43e3429976c8518d1752832ba910a4.zip
Add retries to travis mocha
Diffstat (limited to 'server/tests/api/travis-4.sh')
-rw-r--r--server/tests/api/travis-4.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/travis-4.sh b/server/tests/api/travis-4.sh
index 875986182..6009b1f0e 100644
--- a/server/tests/api/travis-4.sh
+++ b/server/tests/api/travis-4.sh
@@ -5,5 +5,5 @@ set -eu
5redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo) 5redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo)
6activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo) 6activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo)
7 7
8MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel $1 --timeout 5000 --exit --require ts-node/register --bail \ 8MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel $1 --timeout 5000 --retries 3 --exit --require ts-node/register --bail \
9 $redundancyFiles $activitypubFiles 9 $redundancyFiles $activitypubFiles