mongo-python-driver/test/connection_monitoring/pool-checkout-multiple.json

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"
]
}