X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fpools%2Futils.test.mjs;h=bc0c7126ddaa225c92e5e8c2f13174e2e2eaa760;hb=a4d25410764bca884efaea4d46ed9bf83b8a8dbb;hp=8c0a2b6ccf2f0502b915f985512a1624b1c730e0;hpb=32b141fddfba99a275b6e18b5abd97c7a66513be;p=poolifier.git diff --git a/tests/pools/utils.test.mjs b/tests/pools/utils.test.mjs index 8c0a2b6c..bc0c7126 100644 --- a/tests/pools/utils.test.mjs +++ b/tests/pools/utils.test.mjs @@ -4,13 +4,13 @@ import { expect } from 'expect' import { CircularArray, DEFAULT_CIRCULAR_ARRAY_SIZE -} from '../../lib/circular-array.js' +} from '../../lib/circular-array.cjs' import { createWorker, getDefaultTasksQueueOptions, updateMeasurementStatistics -} from '../../lib/pools/utils.js' -import { WorkerTypes } from '../../lib/index.js' +} from '../../lib/pools/utils.cjs' +import { WorkerTypes } from '../../lib/index.cjs' describe('Pool utils test suite', () => { it('Verify getDefaultTasksQueueOptions() behavior', () => { @@ -20,7 +20,7 @@ describe('Pool utils test suite', () => { size: Math.pow(poolMaxSize, 2), taskStealing: true, tasksStealingOnBackPressure: true, - tasksFinishedTimeout: 1000 + tasksFinishedTimeout: 2000 }) })