bson/testdata/connection-monitoring-and-pooling/pool-checkin-destroy-closed.json
2025-03-17 20:58:26 +01:00

51 lines
892 B
JSON

{
"version": 1,
"style": "unit",
"description": "must destroy checked in connection if pool has been closed",
"operations": [
{
"name": "ready"
},
{
"name": "checkOut",
"label": "conn"
},
{
"name": "close"
},
{
"name": "checkIn",
"connection": "conn"
}
],
"events": [
{
"type": "ConnectionCheckedOut",
"connectionId": 1,
"address": 42
},
{
"type": "ConnectionPoolClosed",
"address": 42
},
{
"type": "ConnectionCheckedIn",
"connectionId": 1,
"address": 42
},
{
"type": "ConnectionClosed",
"connectionId": 1,
"reason": "poolClosed",
"address": 42
}
],
"ignore": [
"ConnectionPoolCreated",
"ConnectionPoolReady",
"ConnectionCreated",
"ConnectionReady",
"ConnectionCheckOutStarted"
]
}