From df6d05d56b1663c57703308f9aa65518de565dec Mon Sep 17 00:00:00 2001 From: Mathias Leppich Date: Tue, 2 Jul 2024 11:16:18 +0200 Subject: [PATCH] Add into text to more complex round-robin scenario --- docs/src/test-sharding-js.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/test-sharding-js.md b/docs/src/test-sharding-js.md index 3a1a23d072..b0bd5f70fc 100644 --- a/docs/src/test-sharding-js.md +++ b/docs/src/test-sharding-js.md @@ -216,6 +216,8 @@ Shard 4: ^ ^ ^ : [ 4, 8,12 ]
More complex scenario +Below is a scenario where tests [ 2 and 3 ], [ 4, 5 and 6 ] and [ 9 and 10 ] are executed in a test group which affects how tests are spread across the shards. + ```ts Original Order: [ [1], [2, 3], [4, 5, 6], [7], [8], [9, 10], [11], [12] ] Sorted Order: [ [4, 5, 6], [2, 3], [9, 10], [1], [7], [8], [11], [12] ]