Skip to content

Commit 7ce3723

Browse files
up-to-date
1 parent 9a34c7d commit 7ce3723

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

test/spec/server-discovery-and-monitoring/unified/backpressure-pool-no-clear-min-pool-size-error.json renamed to test/spec/server-discovery-and-monitoring/unified/backpressure-server-description-unchanged-on-min-pool-size-population-error.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"description": "backpressure-pool-not-cleared-on-min-pool-size-population-error",
3-
"schemaVersion": "1.4",
2+
"description": "backpressure-server-description-unchanged-on-min-pool-size-population-error",
3+
"schemaVersion": "1.17",
44
"runOnRequirements": [
55
{
66
"minServerVersion": "4.4",
@@ -20,7 +20,7 @@
2020
],
2121
"tests": [
2222
{
23-
"description": "Pool is not cleared on handshake error during minPoolSize population",
23+
"description": "the server description is not changed on handshake error during minPoolSize population",
2424
"operations": [
2525
{
2626
"name": "createEntities",
@@ -103,4 +103,4 @@
103103
]
104104
}
105105
]
106-
}
106+
}

test/spec/server-discovery-and-monitoring/unified/backpressure-pool-no-clear-min-pool-size-error.yml renamed to test/spec/server-discovery-and-monitoring/unified/backpressure-server-description-unchanged-on-min-pool-size-population-error.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
description: backpressure-pool-not-cleared-on-min-pool-size-population-error
2-
schemaVersion: "1.4"
1+
description: backpressure-server-description-unchanged-on-min-pool-size-population-error
2+
schemaVersion: "1.17"
33
runOnRequirements:
44
- minServerVersion: "4.4"
55
serverless: forbid
@@ -10,7 +10,7 @@ createEntities:
1010
id: setupClient
1111
useMultipleMongoses: false
1212
tests:
13-
- description: Pool is not cleared on handshake error during minPoolSize population
13+
- description: the server description is not changed on handshake error during minPoolSize population
1414
operations:
1515
- name: createEntities
1616
object: testRunner
@@ -20,10 +20,7 @@ tests:
2020
id: client
2121
observeEvents:
2222
- serverDescriptionChangedEvent
23-
- connectionCreatedEvent
24-
- poolClearedEvent
2523
- connectionClosedEvent
26-
- connectionReadyEvent
2724
uriOptions:
2825
appname: authErrorTest
2926
minPoolSize: 5
@@ -60,9 +57,6 @@ tests:
6057
count: 1
6158
expectEvents:
6259
- client: client
63-
eventType: cmap
60+
eventType: sdam
6461
events:
65-
- connectionCreatedEvent: {}
66-
- connectionReadyEvent: {}
67-
- connectionCreatedEvent: {}
68-
- connectionClosedEvent: {}
62+
- serverDescriptionChangedEvent: {}

0 commit comments

Comments
 (0)