...

Text file src/go.mongodb.org/mongo-driver/testdata/connection-monitoring-and-pooling/pool-checkout-connection.json

Documentation: go.mongodb.org/mongo-driver/testdata/connection-monitoring-and-pooling

     1{
     2  "version": 1,
     3  "style": "unit",
     4  "description": "must be able to check out a connection",
     5  "operations": [
     6    {
     7      "name": "ready"
     8    },
     9    {
    10      "name": "checkOut"
    11    }
    12  ],
    13  "events": [
    14    {
    15      "type": "ConnectionCheckOutStarted",
    16      "address": 42
    17    },
    18    {
    19      "type": "ConnectionCreated",
    20      "connectionId": 1,
    21      "address": 42
    22    },
    23    {
    24      "type": "ConnectionReady",
    25      "connectionId": 1,
    26      "address": 42
    27    },
    28    {
    29      "type": "ConnectionCheckedOut",
    30      "connectionId": 1,
    31      "address": 42
    32    }
    33  ],
    34  "ignore": [
    35    "ConnectionPoolReady",
    36    "ConnectionPoolCreated"
    37  ]
    38}

View as plain text