Skip to content

Commit 5143a5f

Browse files
committed
docs: more details on fallback mode
1 parent a9e0292 commit 5143a5f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docusaurus/docs/overview/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ However, as explained in the [Queue Mode](#queue-mode-dynamic-split) section, th
9292

9393
In case of network issues, Knapsack Pro logs a warning and automatically switches to Fallback Mode to run your tests with a split based on test file names.
9494

95+
Knapsack Pro will retry to connect with the API multiple times before switching to Fallback Mode.
96+
97+
In the unlikely scenario where some CI nodes switch to Fallback Mode, but others don't, you can expect the following behavior:
98+
- Queue Mode: some tests might be run on multiple CI nodes (you have the guarantee of at-least-once tests execution).
99+
- Regular Mode: some tests might be skipped; if this is not acceptable, you can [disable Fallback Mode](../ruby/reference.md#knapsack_pro_fallback_mode_enabled).
100+
95101
## Split by test examples
96102

97103
Knapsack Pro can [parallelize tests across CI nodes by example](../ruby/split-by-test-examples.mdx). This is useful when you have slow test files but don't want to manually split test examples into smaller test files.

0 commit comments

Comments
 (0)