Skip to content

Commit 5fc23f4

Browse files
authored
DRIVERS-2802: Require 4.3.1+ when using failCommand errorLabels option (#1489)
This also improves version info in the failCommand docs within the Unified Test Format spec.
1 parent 9fc11a2 commit 5fc23f4

File tree

73 files changed

+9143
-8926
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+9143
-8926
lines changed

source/client-side-operations-timeout/etc/templates/retryability-timeoutMS.yml.template

+4
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ tests:
8888
expectError:
8989
isTimeoutError: true
9090
- description: "operation is retried multiple times for non-zero timeoutMS - {{operation.operation_name}} on {{operation.object}}"
91+
runOnRequirements:
92+
- minServerVersion: "4.3.1" # failCommand errorLabels option
9193
operations:
9294
- name: failPoint
9395
object: testRunner
@@ -130,6 +132,8 @@ tests:
130132
{{operation.command_name}}: {{get_command_object(operation.object)}}
131133
maxTimeMS: { $$type: ["int", "long"] }
132134
- description: "operation is retried multiple times if timeoutMS is zero - {{operation.operation_name}} on {{operation.object}}"
135+
runOnRequirements:
136+
- minServerVersion: "4.3.1" # failCommand errorLabels option
133137
operations:
134138
- name: failPoint
135139
object: testRunner

0 commit comments

Comments
 (0)