From 0d9c2cc0a2983b678bc839fe95b90cb7781b8149 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 10 Dec 2020 12:00:58 +0100 Subject: [PATCH] Test with 3 parallel tests --- scripts/ci.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ci.sh b/scripts/ci.sh index 238eba371..c6f5b8e77 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -52,7 +52,7 @@ elif [ "$1" = "api-1" ]; then notificationsFiles=$(findTestFiles server/tests/api/notifications) searchFiles=$(findTestFiles server/tests/api/search) - MOCHA_PARALLEL=true runTest 2 $notificationsFiles $searchFiles $checkParamFiles + MOCHA_PARALLEL=true runTest 3 $notificationsFiles $searchFiles $checkParamFiles elif [ "$1" = "api-2" ]; then npm run build:server @@ -60,13 +60,13 @@ elif [ "$1" = "api-2" ]; then usersFiles=$(findTestFiles server/tests/api/users) liveFiles=$(findTestFiles server/tests/api/live) - MOCHA_PARALLEL=true runTest 2 $serverFiles $usersFiles $liveFiles + MOCHA_PARALLEL=true runTest 3 $serverFiles $usersFiles $liveFiles elif [ "$1" = "api-3" ]; then npm run build:server videosFiles=$(findTestFiles server/tests/api/videos) - MOCHA_PARALLEL=true runTest 2 $videosFiles + MOCHA_PARALLEL=true runTest 3 $videosFiles elif [ "$1" = "api-4" ]; then npm run build:server