diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-11 10:36:05 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-12-14 09:11:27 +0100 |
commit | 59fd824cf3434a8417b73230f1840fed327e3495 (patch) | |
tree | b3c25022099adf2a41ed8da5328c4147d60add83 /scripts | |
parent | 34caef7fc0710623c6894549423813d53f65b303 (diff) | |
download | PeerTube-59fd824cf3434a8417b73230f1840fed327e3495.tar.gz PeerTube-59fd824cf3434a8417b73230f1840fed327e3495.tar.zst PeerTube-59fd824cf3434a8417b73230f1840fed327e3495.zip |
Fix tests timeout
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh index dd4c28356..9399a0f59 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh | |||
@@ -27,7 +27,7 @@ runTest () { | |||
27 | 27 | ||
28 | joblog="$jobname-ci.log" | 28 | joblog="$jobname-ci.log" |
29 | 29 | ||
30 | parallel -j $jobs \ | 30 | parallel -j $jobs --retries $retries \ |
31 | "echo Trying {} >> $joblog; npm run mocha -- -c --timeout 30000 --exit --require ts-node/register --require tsconfig-paths/register --bail {}" \ | 31 | "echo Trying {} >> $joblog; npm run mocha -- -c --timeout 30000 --exit --require ts-node/register --require tsconfig-paths/register --bail {}" \ |
32 | ::: $files | 32 | ::: $files |
33 | 33 | ||
@@ -40,7 +40,7 @@ findTestFiles () { | |||
40 | } | 40 | } |
41 | 41 | ||
42 | if [ "$1" = "misc" ]; then | 42 | if [ "$1" = "misc" ]; then |
43 | npm run build -- --light | 43 | npm run build |
44 | 44 | ||
45 | feedsFiles=$(findTestFiles server/tests/feeds) | 45 | feedsFiles=$(findTestFiles server/tests/feeds) |
46 | helperFiles=$(findTestFiles server/tests/helpers) | 46 | helperFiles=$(findTestFiles server/tests/helpers) |