mongo-python-driver/test/connection_monitoring/pool-create-min-size-error.json
mongodb-drivers-pr-bot[bot] 130067799c
[Spec Resync] 12-22-2025 (#2663)
Co-authored-by: Cloud User <ec2-user@ip-10-128-23-103.ec2.internal>
Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
2025-12-23 09:59:06 -06:00

67 lines
1.1 KiB
JSON

{
"version": 1,
"style": "integration",
"description": "error during minPoolSize population clears pool",
"runOn": [
{
"minServerVersion": "4.9.0"
}
],
"failPoint": {
"configureFailPoint": "failCommand",
"mode": {
"times": 50
},
"data": {
"failCommands": [
"isMaster",
"hello"
],
"errorCode": 91,
"appName": "poolCreateMinSizeErrorTest"
}
},
"poolOptions": {
"minPoolSize": 1,
"backgroundThreadIntervalMS": 50,
"appName": "poolCreateMinSizeErrorTest"
},
"operations": [
{
"name": "ready"
},
{
"name": "waitForEvent",
"event": "ConnectionPoolCleared",
"count": 1
},
{
"name": "wait",
"ms": 200
}
],
"events": [
{
"type": "ConnectionPoolReady",
"address": 42
},
{
"type": "ConnectionCreated",
"address": 42
},
{
"type": "ConnectionClosed",
"address": 42,
"connectionId": 42,
"reason": "error"
},
{
"type": "ConnectionPoolCleared",
"address": 42
}
],
"ignore": [
"ConnectionPoolCreated"
]
}