src/pools/selection-strategies/weighted-round-robin-choice-strategy.ts -> src/pools...
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 10 Oct 2022 17:09:42 +0000 (19:09 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 10 Oct 2022 17:09:42 +0000 (19:09 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/selection-strategies/selection-strategies-utils.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts [moved from src/pools/selection-strategies/weighted-round-robin-choice-strategy.ts with 100% similarity]
tests/pools/selection-strategies/selection-strategies-utils.test.js
tests/pools/selection-strategies/worker-choice-strategy-context.test.js

index a44ba6c6efc01cf591040c38015fc3bd8ba4d2ef..fa1c1e076a658466549ce8cbfad9522ba52d2a76 100644 (file)
@@ -8,7 +8,7 @@ import type {
   WorkerChoiceStrategy
 } from './selection-strategies-types'
 import { WorkerChoiceStrategies } from './selection-strategies-types'
-import { WeightedRoundRobinWorkerChoiceStrategy } from './weighted-round-robin-choice-strategy'
+import { WeightedRoundRobinWorkerChoiceStrategy } from './weighted-round-robin-worker-choice-strategy'
 
 /**
  * Worker selection strategies helpers class.
index ac1836e7d341ca525d15bc8ba95d50d54e73f298..ba9545f9ae93bfba4bee1984fe17318c4ac96606 100644 (file)
@@ -18,7 +18,7 @@ const {
 } = require('../../../lib/pools/selection-strategies/fair-share-worker-choice-strategy')
 const {
   WeightedRoundRobinWorkerChoiceStrategy
-} = require('../../../lib/pools/selection-strategies/weighted-round-robin-choice-strategy')
+} = require('../../../lib/pools/selection-strategies/weighted-round-robin-worker-choice-strategy')
 
 describe('Selection strategies utils test suite', () => {
   const max = 3
index c33dad80dc885712e95cfa1945119ebf1b1f53ba..5ffd66a384ec20decf6aee953e985886bc575a63 100644 (file)
@@ -19,7 +19,7 @@ const {
 } = require('../../../lib/pools/selection-strategies/fair-share-worker-choice-strategy')
 const {
   WeightedRoundRobinWorkerChoiceStrategy
-} = require('../../../lib/pools/selection-strategies/weighted-round-robin-choice-strategy')
+} = require('../../../lib/pools/selection-strategies/weighted-round-robin-worker-choice-strategy')
 const {
   DynamicPoolWorkerChoiceStrategy
 } = require('../../../lib/pools/selection-strategies/dynamic-pool-worker-choice-strategy')