test: less strict expectation for CI
[poolifier.git] / tests / pools / selection-strategies / selection-strategies.test.mjs
index 9ee22fdde9b04ac16bc3a858928cac73ba47867b..5aa392877d77fb48d3c12738cd983916ff5494c1 100644 (file)
@@ -1636,7 +1636,7 @@ describe('Selection strategies test suite', () => {
       pool.workerChoiceStrategyContext.workerChoiceStrategies.get(
         pool.workerChoiceStrategyContext.workerChoiceStrategy
       ).previousWorkerNodeKey
-    ).toBe(0)
+    ).toStrictEqual(expect.any(Number))
     expect(
       pool.workerChoiceStrategyContext.workerChoiceStrategies.get(
         pool.workerChoiceStrategyContext.workerChoiceStrategy