mirror of https://github.com/apache/nifi.git
NIFI-13086 - set jest maxWorkers to 50% for maven builds to alleviate some resource contention (#8689)
* NIFI-13086 - set jest maxWorkers to 50% for maven builds to alleviate some resource contention * quoting the maxWorkers value * set maxWorkers in jest.config.ts * set maxWorkers to 2 for maven builds This closes #8689
This commit is contained in:
parent
4b5b7ac2bb
commit
04c6c51aed
|
@ -172,7 +172,7 @@
|
|||
</goals>
|
||||
<phase>test</phase>
|
||||
<configuration>
|
||||
<arguments>nx test</arguments>
|
||||
<arguments>nx test --maxWorkers=2</arguments>
|
||||
<workingDirectory>${frontend.working.dir}</workingDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
|
|
@ -79,7 +79,7 @@ const config: Config = {
|
|||
// globals: {},
|
||||
|
||||
// The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.
|
||||
// maxWorkers: "50%",
|
||||
// maxWorkers: '50%',
|
||||
|
||||
// An array of directory names to be searched recursively up from the requiring module's location
|
||||
// moduleDirectories: [
|
||||
|
|
Loading…
Reference in New Issue