test: revert wrong change
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 30 May 2023 19:04:28 +0000 (21:04 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 30 May 2023 19:04:28 +0000 (21:04 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
tests/pools/abstract/abstract-pool.test.js

index caf7c8f0c0ad28ad03a204dfc7ea8f9b0a569cf8..108fb32a03f1c10d629a9a4bf33da46e4169987d 100644 (file)
@@ -369,7 +369,7 @@ describe('Abstract pool test suite', () => {
   it('Verify that worker pool tasks usage are reset at worker choice strategy change', async () => {
     const pool = new DynamicThreadPool(
       numberOfWorkers,
-      numberOfWorkers * 2,
+      numberOfWorkers,
       './tests/worker-files/thread/testWorker.js'
     )
     const promises = []