From: Jérôme Benoit Date: Tue, 19 Dec 2023 18:01:35 +0000 (+0100) Subject: test: remove unneeded sleep X-Git-Tag: v3.1.7~1^2~25 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b66fec4ceeaea97a4947e9079cc9fe264b06c1d2;p=poolifier.git test: remove unneeded sleep Signed-off-by: Jérôme Benoit --- diff --git a/tests/pools/selection-strategies/selection-strategies.test.mjs b/tests/pools/selection-strategies/selection-strategies.test.mjs index 127377a2..ff1f499f 100644 --- a/tests/pools/selection-strategies/selection-strategies.test.mjs +++ b/tests/pools/selection-strategies/selection-strategies.test.mjs @@ -7,7 +7,6 @@ import { WorkerChoiceStrategies } from '../../../lib/index.js' import { CircularArray } from '../../../lib/circular-array.js' -import { sleep } from '../../test-utils.js' describe('Selection strategies test suite', () => { const min = 0 @@ -181,7 +180,6 @@ describe('Selection strategies test suite', () => { max, './tests/worker-files/thread/testWorker.mjs' ) - await sleep(600) expect(pool.starting).toBe(false) expect(pool.workerNodes.length).toBe(min) const maxMultiplier = 10000