Skip to content

Commit

Permalink
[CI] Decrease number of Jest workers
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
  • Loading branch information
Tyler Smalley committed Jan 27, 2021
1 parent 5ce916b commit 08f4122
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ci/teamcity/oss/jest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ source "$(dirname "${0}")/../util.sh"
export JOB=kibana-oss-jest

checks-reporter-with-killswitch "Jest Unit Tests" \
node scripts/jest --ci --verbose
node scripts/jest --ci --maxWorkers=12 --verbose
2 changes: 1 addition & 1 deletion .ci/teamcity/tests/jest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ source "$(dirname "${0}")/../util.sh"
export JOB=kibana-jest

checks-reporter-with-killswitch "Jest Unit Tests" \
node scripts/jest --ci --verbose --coverage
node scripts/jest --ci --maxWorkers=12 --verbose
2 changes: 1 addition & 1 deletion .teamcity/src/builds/test/Jest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object Jest : BuildType({
name = "Jest Unit"
description = "Executes Jest Unit Tests"

kibanaAgent(8)
kibanaAgent(16)

steps {
runbld("Jest Unit", "./.ci/teamcity/tests/jest.sh")
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/test/jest_unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
source src/dev/ci_setup/setup_env.sh

checks-reporter-with-killswitch "Jest Unit Tests" \
node scripts/jest --ci --verbose --maxWorkers=10 --coverage
node scripts/jest --ci --verbose --maxWorkers=6 --coverage

0 comments on commit 08f4122

Please sign in to comment.