...

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

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

     1{
     2  "version": 1,
     3  "style": "unit",
     4  "description": "must make valid checked in connection available",
     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      "name": "checkOut"
    19    }
    20  ],
    21  "events": [
    22    {
    23      "type": "ConnectionCheckedOut",
    24      "connectionId": 1,
    25      "address": 42
    26    },
    27    {
    28      "type": "ConnectionCheckedIn",
    29      "connectionId": 1,
    30      "address": 42
    31    },
    32    {
    33      "type": "ConnectionCheckedOut",
    34      "connectionId": 1,
    35      "address": 42
    36    }
    37  ],
    38  "ignore": [
    39    "ConnectionPoolCreated",
    40    "ConnectionPoolReady",
    41    "ConnectionCreated",
    42    "ConnectionReady",
    43    "ConnectionCheckOutStarted"
    44  ]
    45}

View as plain text