Skip to content

Commit

Permalink
DRIVERS-1725 Unskip failCommand+appName tests on MongoDB 4.4.7+ (#1612)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneHarvey authored Aug 6, 2024
1 parent 121be10 commit a35de87
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 19 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ description: "timeoutMS behaves correctly during command execution"
schemaVersion: "1.9"

runOnRequirements:
# The appName filter cannot be used to set a fail point on connection handshakes until server version 4.9 due to
# SERVER-49220/SERVER-49336.
- minServerVersion: "4.9"
# Require SERVER-49336 for failCommand + appName on the initial handshake.
- minServerVersion: "4.4.7"
# Skip load-balanced and serverless which do not support RTT measurements.
topologies: [ single, replicaset, sharded ]
serverless: forbid
Expand Down
2 changes: 1 addition & 1 deletion source/load-balancers/tests/sdam-error-handling.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions source/load-balancers/tests/sdam-error-handling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,8 @@ tests:
# to the same mongos on which the failpoint is set.
- description: errors during the initial connection hello are ignored
runOnRequirements:
# Server version 4.9+ is needed to set a fail point on the initial
# connection handshake with the appName filter due to SERVER-49336.
- minServerVersion: '4.9'
# Require SERVER-49336 for failCommand + appName on the initial handshake.
- minServerVersion: '4.4.7'
operations:
- name: failPoint
object: testRunner
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: hello-command-error
schemaVersion: "1.4"

runOnRequirements:
# failCommand appName requirements
- minServerVersion: "4.9"
# Require SERVER-49336 for failCommand + appName on the initial handshake.
- minServerVersion: "4.4.7"
serverless: forbid
topologies: [ single, replicaset, sharded ]

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: hello-network-error
schemaVersion: "1.4"

runOnRequirements:
# failCommand appName requirements
- minServerVersion: "4.9"
# Require SERVER-49336 for failCommand + appName on the initial handshake.
- minServerVersion: "4.4.7"
serverless: forbid
topologies: [ single, replicaset, sharded ]

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ schemaVersion: "1.11"

runOnRequirements:
# failCommand appName requirements
- minServerVersion: "4.9"
- minServerVersion: "4.4"
serverless: forbid
topologies: [ replicaset, sharded ]

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: minPoolSize-error
schemaVersion: "1.4"

runOnRequirements:
# failCommand appName requirements
- minServerVersion: "4.9"
# Require SERVER-49336 for failCommand + appName on the initial handshake.
- minServerVersion: "4.4.7"
serverless: forbid
topologies:
- single
Expand Down

0 comments on commit a35de87

Please sign in to comment.