X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fpools%2Fthread%2Fdynamic.test.js;h=d8c68e90c51100886bc8fe83ebfba8ec2ef094f1;hb=164d950a1bcdc39b4762294c1581e8befbb344e2;hp=9036642f1b00a87bd9c8eeebb9a72ffa9abd81a0;hpb=e65c6cd9a3d6ed2e5b8af95120a5aa070101e945;p=poolifier.git diff --git a/tests/pools/thread/dynamic.test.js b/tests/pools/thread/dynamic.test.js index 9036642f..d8c68e90 100644 --- a/tests/pools/thread/dynamic.test.js +++ b/tests/pools/thread/dynamic.test.js @@ -121,7 +121,7 @@ describe('Dynamic thread pool test suite', () => { } expect(longRunningPool.workers.length).toBe(max) await TestUtils.sleep(1500) - // Here we expect the workers to be at the max size since that the task is still running + // Here we expect the workers to be at the max size since the task is still running expect(longRunningPool.workers.length).toBe(max) // We need to clean up the resources after our test await longRunningPool.destroy()