repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf: optimize worker choice strategies
[poolifier.git]
/
tests
/
pools
/
selection-strategies
/
weighted-round-robin-worker-choice-strategy.test.js
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 3f94411c98c104b5ee82697e134c31f557886ccf..b21c41ff954f72aa3c1dee9d9381c985b2413e01 100644
(file)
--- 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.
curren
tWorkerNodeId).toBe(0)
+ expect(strategy.
nex
tWorkerNodeId).toBe(0)
expect(strategy.workerVirtualTaskRunTime).toBe(0)
})
})