...

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

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

     1{
     2  "version": 1,
     3  "style": "unit",
     4  "description": "readying a ready pool emits no events",
     5  "operations": [
     6    {
     7      "name": "ready"
     8    },
     9    {
    10      "name": "ready"
    11    },
    12    {
    13      "name": "ready"
    14    },
    15    {
    16      "name": "clear"
    17    },
    18    {
    19      "name": "ready"
    20    }
    21  ],
    22  "events": [
    23    {
    24      "type": "ConnectionPoolReady",
    25      "address": 42
    26    },
    27    {
    28      "type": "ConnectionPoolCleared",
    29      "address": 42
    30    },
    31    {
    32      "type": "ConnectionPoolReady",
    33      "address": 42
    34    }
    35  ],
    36  "ignore": [
    37    "ConnectionPoolCreated"
    38  ]
    39}

View as plain text