From c7edb3edda7dda9daf1f7e6966abdf135577af23 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 17 Feb 2026 17:27:56 -0600 Subject: [PATCH] DRIVERS-3326 Fix test for error propagation behavior when multiple errors are encountered --- source/retryable-writes/tests/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/retryable-writes/tests/README.md b/source/retryable-writes/tests/README.md index cb563fc98d..77cb865091 100644 --- a/source/retryable-writes/tests/README.md +++ b/source/retryable-writes/tests/README.md @@ -326,8 +326,8 @@ to cover the same sequence of events. 1. Create a client with `retryWrites=true`. -2. Configure a fail point with error code `91` (ShutdownInProgress) with the `RetryableError` and - `SystemOverloadedError` error labels: +2. Configure a fail point with error code `91` (ShutdownInProgress) with the `RetryableError`, `SystemOverloadedError`, + and `NoWritesPerformed` error labels: ```javascript { @@ -380,7 +380,7 @@ to cover the same sequence of events. ```javascript { configureFailPoint: "failCommand", - mode: {times: 1}, + mode: "alwaysOn", data: { failCommands: ["insert"], errorLabels: ["RetryableError", "SystemOverloadedError", "NoWritesPerformed"], @@ -419,6 +419,8 @@ to cover the same sequence of events. ## Changelog +- 2026-02-17: Fix test for error propagation behavior when multiple errors are encountered. + - 2026-02-03: Add tests for error propagation behavior when multiple errors are encountered. - 2024-10-29: Convert command construction tests to unified format.