mongo-python-driver/test/connection_monitoring/pool-checkout-multiple.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

71 lines
1.2 KiB
JSON

{
"version": 1,
"style": "unit",
"description": "must be able to check out multiple connections at the same time",
"operations": [
{
"name": "ready"
},
{
"name": "start",
"target": "thread1"
},
{
"name": "start",
"target": "thread2"
},
{
"name": "start",
"target": "thread3"
},
{
"name": "checkOut",
"thread": "thread1"
},
{
"name": "checkOut",
"thread": "thread2"
},
{
"name": "checkOut",
"thread": "thread3"
},
{
"name": "waitForThread",
"target": "thread1"
},
{
"name": "waitForThread",
"target": "thread2"
},
{
"name": "waitForThread",
"target": "thread3"
}
],
"events": [
{
"type": "ConnectionCheckedOut",
"connectionId": 42,
"address": 42
},
{
"type": "ConnectionCheckedOut",
"connectionId": 42,
"address": 42
},
{
"type": "ConnectionCheckedOut",
"connectionId": 42,
"address": 42
}
],
"ignore": [
"ConnectionCreated",
"ConnectionPoolReady",
"ConnectionReady",
"ConnectionPoolCreated",
"ConnectionCheckOutStarted"
]
}