From: Jérôme Benoit Date: Wed, 20 Dec 2023 13:21:00 +0000 (+0100) Subject: test: less strict expectation for CI X-Git-Tag: v3.1.7~1^2~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=af7fe15acbe47c6b2236426034dd5cb08c271bbc;p=poolifier.git test: less strict expectation for CI Signed-off-by: Jérôme Benoit --- diff --git a/tests/pools/selection-strategies/selection-strategies.test.mjs b/tests/pools/selection-strategies/selection-strategies.test.mjs index 9ee22fdd..5aa39287 100644 --- a/tests/pools/selection-strategies/selection-strategies.test.mjs +++ b/tests/pools/selection-strategies/selection-strategies.test.mjs @@ -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