X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fpools%2Fthread%2Fdynamic.test.js;h=4f3dfb6d92f0a761a8cfbc766a91fde55b1c29b8;hb=66293e7de47622336a108da139f5bbbd7d175d2b;hp=56847302653d1ee6df62a1a9bc44499ce8256b9b;hpb=c2d2417cb80d8c14637fe6a19d58bcf5ce18ae98;p=poolifier.git diff --git a/tests/pools/thread/dynamic.test.js b/tests/pools/thread/dynamic.test.js index 56847302..4f3dfb6d 100644 --- a/tests/pools/thread/dynamic.test.js +++ b/tests/pools/thread/dynamic.test.js @@ -103,7 +103,7 @@ describe('Dynamic thread pool test suite', () => { expect( longRunningPool.workerChoiceStrategyContext.workerChoiceStrategies.get( longRunningPool.workerChoiceStrategyContext.workerChoiceStrategy - ).nextWorkerNodeId + ).nextWorkerNodeKey ).toBeLessThan(longRunningPool.workerNodes.length) // We need to clean up the resources after our test await longRunningPool.destroy()