Skip to content

Commit 4a669d3

Browse files
authored
CSHARP-5061: Enable tests that require failCommand with appName on initial handshake before 4.9 (#1530)
1 parent 7d2c377 commit 4a669d3

File tree

10 files changed

+14
-15
lines changed

10 files changed

+14
-15
lines changed

specifications/load-balancers/tests/sdam-error-handling.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
"description": "errors during the initial connection hello are ignored",
264264
"runOnRequirements": [
265265
{
266-
"minServerVersion": "4.9"
266+
"minServerVersion": "4.4.7"
267267
}
268268
],
269269
"operations": [

specifications/load-balancers/tests/sdam-error-handling.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,8 @@ tests:
141141
# to the same mongos on which the failpoint is set.
142142
- description: errors during the initial connection hello are ignored
143143
runOnRequirements:
144-
# Server version 4.9+ is needed to set a fail point on the initial
145-
# connection handshake with the appName filter due to SERVER-49336.
146-
- minServerVersion: '4.9'
144+
# Require SERVER-49336 for failCommand + appName on the initial handshake.
145+
- minServerVersion: '4.4.7'
147146
operations:
148147
- name: failPoint
149148
object: testRunner

specifications/server-discovery-and-monitoring/tests/unified/hello-command-error.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"schemaVersion": "1.10",
44
"runOnRequirements": [
55
{
6-
"minServerVersion": "4.9",
6+
"minServerVersion": "4.4.7",
77
"serverless": "forbid",
88
"topologies": [
99
"single",

specifications/server-discovery-and-monitoring/tests/unified/hello-command-error.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: hello-command-error
44
schemaVersion: "1.10"
55

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

specifications/server-discovery-and-monitoring/tests/unified/hello-network-error.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"schemaVersion": "1.10",
44
"runOnRequirements": [
55
{
6-
"minServerVersion": "4.9",
6+
"minServerVersion": "4.4.7",
77
"serverless": "forbid",
88
"topologies": [
99
"single",

specifications/server-discovery-and-monitoring/tests/unified/hello-network-error.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: hello-network-error
44
schemaVersion: "1.10"
55

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

specifications/server-discovery-and-monitoring/tests/unified/interruptInUse-pool-clear.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"schemaVersion": "1.11",
44
"runOnRequirements": [
55
{
6-
"minServerVersion": "4.9",
6+
"minServerVersion": "4.4",
77
"serverless": "forbid",
88
"topologies": [
99
"replicaset",

specifications/server-discovery-and-monitoring/tests/unified/interruptInUse-pool-clear.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ schemaVersion: "1.11"
55

66
runOnRequirements:
77
# failCommand appName requirements
8-
- minServerVersion: "4.9"
8+
- minServerVersion: "4.4"
99
serverless: forbid
1010
topologies: [ replicaset, sharded ]
1111

specifications/server-discovery-and-monitoring/tests/unified/minPoolSize-error.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"schemaVersion": "1.10",
44
"runOnRequirements": [
55
{
6-
"minServerVersion": "4.9",
6+
"minServerVersion": "4.4.7",
77
"serverless": "forbid",
88
"topologies": [
99
"single"

specifications/server-discovery-and-monitoring/tests/unified/minPoolSize-error.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: minPoolSize-error
44
schemaVersion: "1.10"
55

66
runOnRequirements:
7-
# failCommand appName requirements
8-
- minServerVersion: "4.9"
7+
# Require SERVER-49336 for failCommand + appName on the initial handshake.
8+
- minServerVersion: "4.4.7"
99
serverless: forbid
1010
topologies:
1111
- single

0 commit comments

Comments
 (0)