...

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

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

     1{
     2  "version": 1,
     3  "style": "unit",
     4  "description": "must have a method of allowing the driver to check in a connection",
     5  "operations": [
     6    {
     7      "name": "ready"
     8    },
     9    {
    10      "name": "checkOut",
    11      "label": "conn"
    12    },
    13    {
    14      "name": "checkIn",
    15      "connection": "conn"
    16    }
    17  ],
    18  "events": [
    19    {
    20      "type": "ConnectionCheckedIn",
    21      "connectionId": 42,
    22      "address": 42
    23    }
    24  ],
    25  "ignore": [
    26    "ConnectionPoolCreated",
    27    "ConnectionPoolReady",
    28    "ConnectionCreated",
    29    "ConnectionReady",
    30    "ConnectionClosed",
    31    "ConnectionCheckOutStarted",
    32    "ConnectionCheckedOut"
    33  ]
    34}

View as plain text