mongo-python-driver/test/connection_monitoring/pool-clear-min-size.json
Noah Stapp ebb94b669e
PYTHON-3457 Easier debugging with standardized logging (#1515)
PYTHON-3458 Add command logging.
PYTHON-3459 Add server selection logging.
PYTHON-3473 Add connection pool logging.
PYTHON-4167 Add documentation and examples.

Co-authored-by: sleepyStick <itsirisho@gmail.com>
2024-02-15 11:35:08 -08:00

69 lines
1.1 KiB
JSON

{
"version": 1,
"style": "unit",
"description": "pool clear halts background minPoolSize establishments",
"poolOptions": {
"minPoolSize": 1,
"backgroundThreadIntervalMS": 50
},
"operations": [
{
"name": "ready"
},
{
"name": "waitForEvent",
"event": "ConnectionReady",
"count": 1
},
{
"name": "clear"
},
{
"name": "wait",
"ms": 200
},
{
"name": "ready"
},
{
"name": "waitForEvent",
"event": "ConnectionReady",
"count": 2
}
],
"events": [
{
"type": "ConnectionPoolReady",
"address": 42
},
{
"type": "ConnectionCreated",
"address": 42
},
{
"type": "ConnectionReady",
"address": 42
},
{
"type": "ConnectionPoolCleared",
"address": 42
},
{
"type": "ConnectionPoolReady",
"address": 42
},
{
"type": "ConnectionCreated",
"address": 42
},
{
"type": "ConnectionReady",
"address": 42
}
],
"ignore": [
"ConnectionPoolCreated",
"ConnectionClosed"
]
}