Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
pool = new DynamicClusterPool(
numberOfWorkers,
numberOfWorkers * 2,
- './tests/worker-files/thread/testWorker.js'
+ './tests/worker-files/cluster/testWorker.js'
)
expect(pool.info).toStrictEqual({
type: PoolTypes.dynamic,
})
it('Verify that thread pool options are checked', async () => {
- const workerFilePath = './tests/worker-files/cluster/testWorker.js'
+ const workerFilePath = './tests/worker-files/thread/testWorker.js'
let pool1 = new FixedThreadPool(numberOfThreads, workerFilePath)
expect(pool1.opts.workerOptions).toBeUndefined()
await pool1.destroy()