Skip to content

Commit

Permalink
DRIVERS-2802: Require 4.3.1+ when using failCommand errorLabels option
Browse files Browse the repository at this point in the history
This also improves version info in the failCommand docs within the Unified Test Format spec.
  • Loading branch information
jmikola committed Jan 3, 2024
1 parent 4c73bb1 commit a57a100
Show file tree
Hide file tree
Showing 73 changed files with 9,313 additions and 8,926 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ tests:
expectError:
isTimeoutError: true
- description: "operation is retried multiple times for non-zero timeoutMS - {{operation.operation_name}} on {{operation.object}}"
runOnRequirements:
- minServerVersion: "4.3.1" # failCommand errorLabels option
operations:
- name: failPoint
object: testRunner
Expand Down Expand Up @@ -130,6 +132,8 @@ tests:
{{operation.command_name}}: {{get_command_object(operation.object)}}
maxTimeMS: { $$type: ["int", "long"] }
- description: "operation is retried multiple times if timeoutMS is zero - {{operation.operation_name}} on {{operation.object}}"
runOnRequirements:
- minServerVersion: "4.3.1" # failCommand errorLabels option
operations:
- name: failPoint
object: testRunner
Expand Down
Loading

0 comments on commit a57a100

Please sign in to comment.