X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fpools%2Fselection-strategies%2Fweighted-round-robin-worker-choice-strategy.test.js;h=b21c41ff954f72aa3c1dee9d9381c985b2413e01;hb=d33be4309c69e39da5e81479e40b1a5ec7078bd5;hp=3f94411c98c104b5ee82697e134c31f557886ccf;hpb=08f3f44cef6256fdbab1a2a56842b291fd6dcd42;p=poolifier.git diff --git a/tests/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.test.js b/tests/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.test.js index 3f94411c..b21c41ff 100644 --- a/tests/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.test.js +++ b/tests/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.test.js @@ -35,7 +35,7 @@ describe('Weighted round robin strategy worker choice strategy test suite', () = ) const resetResult = strategy.reset() expect(resetResult).toBe(true) - expect(strategy.currentWorkerNodeId).toBe(0) + expect(strategy.nextWorkerNodeId).toBe(0) expect(strategy.workerVirtualTaskRunTime).toBe(0) }) })