From 5ad42e34cbc0302669952757c1ae1c2f284a96a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 25 Nov 2023 10:45:55 +0100 Subject: [PATCH] test: cleanup expected data structure MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- tests/pools/abstract-pool.test.mjs | 2 +- .../selection-strategies.test.mjs | 32 +++++++++---------- tests/pools/worker-node.test.mjs | 6 ++-- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/tests/pools/abstract-pool.test.mjs b/tests/pools/abstract-pool.test.mjs index 04e15c09..9c1e49a4 100644 --- a/tests/pools/abstract-pool.test.mjs +++ b/tests/pools/abstract-pool.test.mjs @@ -1346,8 +1346,8 @@ describe('Abstract pool test suite', () => { executed: expect.any(Number), executing: 0, queued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: { diff --git a/tests/pools/selection-strategies/selection-strategies.test.mjs b/tests/pools/selection-strategies/selection-strategies.test.mjs index 4a2ace04..b7597b4c 100644 --- a/tests/pools/selection-strategies/selection-strategies.test.mjs +++ b/tests/pools/selection-strategies/selection-strategies.test.mjs @@ -277,8 +277,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: { @@ -333,8 +333,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: { @@ -559,8 +559,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: { @@ -618,8 +618,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: { @@ -758,8 +758,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: expect.objectContaining({ @@ -827,8 +827,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: expect.objectContaining({ @@ -977,8 +977,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: { @@ -1052,8 +1052,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: { @@ -1208,8 +1208,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: expect.objectContaining({ @@ -1294,8 +1294,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: expect.objectContaining({ @@ -1385,8 +1385,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: expect.objectContaining({ @@ -1586,8 +1586,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: expect.objectContaining({ @@ -1665,8 +1665,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: expect.objectContaining({ @@ -1749,8 +1749,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: expect.objectContaining({ @@ -2012,8 +2012,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: expect.objectContaining({ @@ -2098,8 +2098,8 @@ describe('Selection strategies test suite', () => { executing: 0, queued: 0, maxQueued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: expect.objectContaining({ diff --git a/tests/pools/worker-node.test.mjs b/tests/pools/worker-node.test.mjs index 834c3cb6..f70ce37b 100644 --- a/tests/pools/worker-node.test.mjs +++ b/tests/pools/worker-node.test.mjs @@ -155,8 +155,8 @@ describe('Worker node test suite', () => { executed: 0, executing: 0, queued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: { @@ -179,8 +179,8 @@ describe('Worker node test suite', () => { executed: 0, executing: 0, queued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: { @@ -203,8 +203,8 @@ describe('Worker node test suite', () => { executed: 0, executing: 0, queued: 0, - stolen: 0, sequentiallyStolen: 0, + stolen: 0, failed: 0 }, runTime: { -- 2.34.1