diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-24 09:21:22 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | 24163420dd43e3429976c8518d1752832ba910a4 (patch) | |
tree | 2565a916b4f5c789ff4120828f02b0709754607a /server/tests/api/travis-1.sh | |
parent | c9e3eeedad67649d9b7aec8897b738d0ad63ec1f (diff) | |
download | PeerTube-24163420dd43e3429976c8518d1752832ba910a4.tar.gz PeerTube-24163420dd43e3429976c8518d1752832ba910a4.tar.zst PeerTube-24163420dd43e3429976c8518d1752832ba910a4.zip |
Add retries to travis mocha
Diffstat (limited to 'server/tests/api/travis-1.sh')
-rw-r--r-- | server/tests/api/travis-1.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/travis-1.sh b/server/tests/api/travis-1.sh index db4021b25..4572416b7 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 | |||
6 | notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) | 6 | notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) |
7 | searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) | 7 | searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) |
8 | 8 | ||
9 | MOCHA_PARALLEL=true mocha --timeout 5000 --exit --require ts-node/register --bail \ | 9 | MOCHA_PARALLEL=true mocha --timeout 5000 --retries 3 --exit --require ts-node/register --bail \ |
10 | $notificationsFiles $searchFiles $checkParamFiles | 10 | $notificationsFiles $searchFiles $checkParamFiles |