Lines Matching full:concurrency
173 const { concurrency, only, timeout, todo, signal } = options;
188 this.concurrency = 1;
207 this.concurrency = parent.concurrency;
224 switch (typeof concurrency) {
226 validateUint32(concurrency, 'options.concurrency', 1);
227 this.concurrency = concurrency;
231 if (concurrency) {
233 this.concurrency = parent === null ? MathMax(cpus().length - 1, 1) : Infinity;
235 this.concurrency = 1;
240 if (concurrency != null)
241 throw new ERR_INVALID_ARG_TYPE('options.concurrency', ['boolean', 'number'], concurrency);
304 return this.concurrency > this.activeSubtests;
471 // If there is enough available concurrency to run the test now, then do
598 // tests that were pending due to available concurrency.