PYTHON-2715 Remove minPoolSize-error.json spec test file as it uses a monitoring event that v3.12 does not implement

This commit is contained in:
Prashant Mital 2021-06-30 17:12:34 -07:00
parent 57da6e35c5
commit 605620ba13
No known key found for this signature in database
GPG Key ID: 8EFE2B468F727B75

View File

@ -1,102 +0,0 @@
{
"runOn": [
{
"minServerVersion": "4.9"
}
],
"database_name": "sdam-tests",
"collection_name": "sdam-minPoolSize-error",
"data": [],
"tests": [
{
"description": "Network error on minPoolSize background creation",
"failPoint": {
"configureFailPoint": "failCommand",
"mode": {
"skip": 3
},
"data": {
"failCommands": [
"hello",
"isMaster"
],
"appName": "SDAMminPoolSizeError",
"closeConnection": true
}
},
"clientOptions": {
"heartbeatFrequencyMS": 10000,
"appname": "SDAMminPoolSizeError",
"minPoolSize": 10,
"serverSelectionTimeoutMS": 1000,
"directConnection": true
},
"operations": [
{
"name": "waitForEvent",
"object": "testRunner",
"arguments": {
"event": "PoolReadyEvent",
"count": 1
}
},
{
"name": "waitForEvent",
"object": "testRunner",
"arguments": {
"event": "PoolClearedEvent",
"count": 1
}
},
{
"name": "waitForEvent",
"object": "testRunner",
"arguments": {
"event": "ServerMarkedUnknownEvent",
"count": 1
}
},
{
"name": "runCommand",
"object": "database",
"command_name": "ping",
"arguments": {
"command": {
"ping": {}
}
},
"error": true
},
{
"name": "configureFailPoint",
"object": "testRunner",
"arguments": {
"failPoint": {
"configureFailPoint": "failCommand",
"mode": "off"
}
}
},
{
"name": "runCommand",
"object": "database",
"command_name": "ping",
"arguments": {
"command": {
"ping": 1
}
},
"error": false
},
{
"name": "assertEventCount",
"object": "testRunner",
"arguments": {
"event": "PoolReadyEvent",
"count": 2
}
}
]
}
]
}