test: add missing pool destroy()
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 8 Oct 2023 16:13:41 +0000 (18:13 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 8 Oct 2023 16:13:41 +0000 (18:13 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
tests/pools/abstract-pool.test.mjs

index 8c0319e7c04bbad87b5531e16d2b2a1f3726d28c..c42dbc94e7b271668fea4362612680017c616697 100644 (file)
@@ -1471,6 +1471,7 @@ describe('Abstract pool test suite', () => {
       'jsonIntegerSerialization',
       'factorial'
     ])
+    await dynamicThreadPool.destroy()
   })
 
   it('Verify that multiple task functions worker is working', async () => {