...

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

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

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

View as plain text