mongo-python-driver/test/connection_monitoring/pool-close-destroy-conns.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

53 lines
925 B
JSON

{
"version": 1,
"style": "unit",
"description": "When a pool is closed, it MUST first destroy all available connections in that pool",
"operations": [
{
"name": "ready"
},
{
"name": "checkOut"
},
{
"name": "checkOut",
"label": "conn"
},
{
"name": "checkOut"
},
{
"name": "checkIn",
"connection": "conn"
},
{
"name": "close"
}
],
"events": [
{
"type": "ConnectionCheckedIn",
"connectionId": 2,
"address": 42
},
{
"type": "ConnectionClosed",
"connectionId": 2,
"reason": "poolClosed",
"address": 42
},
{
"type": "ConnectionPoolClosed",
"address": 42
}
],
"ignore": [
"ConnectionCreated",
"ConnectionPoolReady",
"ConnectionReady",
"ConnectionPoolCreated",
"ConnectionCheckOutStarted",
"ConnectionCheckedOut"
]
}