Skip to content

Commit

Permalink
[ci] Limit to two workers
Browse files Browse the repository at this point in the history
By default we run the prove task based on the number of available CPU cores.
The nprocs test will return the number of available CPU cores in the docker
executor VM, however the medium resource class only has access to
3 CPUs.

So the prove task will always spawn more workers than the number of available
CPU cores, which then causes the CPU to max out during the test and cause
random errors.
  • Loading branch information
tkan145 committed Jan 22, 2025
1 parent ec8e574 commit bfb387d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ jobs:
JUNIT_OUTPUT_FILE: tmp/junit/prove/report.xml
TEST_NGINX_ERROR_LOG: tmp/junit/prove/error.log
HARNESS: TAP::Harness::JUnit
NPROC: 2
- report-codecov:
suite: prove
flags: -f 'luacov.report.*.out'
Expand Down

0 comments on commit bfb387d

Please sign in to comment.