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 5, 2024
1 parent eef59d9 commit e6858c5
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 e6858c5

Please sign in to comment.