...

Text file src/go.mongodb.org/mongo-driver/testdata/connection-monitoring-and-pooling/pool-create-min-size.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 start a pool with minPoolSize connections",
     5  "poolOptions": {
     6    "minPoolSize": 3
     7  },
     8  "operations": [
     9    {
    10      "name": "wait",
    11      "ms": 200
    12    },
    13    {
    14      "name": "ready"
    15    },
    16    {
    17      "name": "waitForEvent",
    18      "event": "ConnectionCreated",
    19      "count": 3
    20    },
    21    {
    22      "name": "waitForEvent",
    23      "event": "ConnectionReady",
    24      "count": 3
    25    },
    26    {
    27      "name": "checkOut"
    28    }
    29  ],
    30  "events": [
    31    {
    32      "type": "ConnectionPoolCreated",
    33      "address": 42,
    34      "options": 42
    35    },
    36    {
    37      "type": "ConnectionPoolReady",
    38      "address": 42
    39    },
    40    {
    41      "type": "ConnectionCreated",
    42      "connectionId": 42,
    43      "address": 42
    44    },
    45    {
    46      "type": "ConnectionCreated",
    47      "connectionId": 42,
    48      "address": 42
    49    },
    50    {
    51      "type": "ConnectionCreated",
    52      "connectionId": 42,
    53      "address": 42
    54    },
    55    {
    56      "type": "ConnectionCheckedOut",
    57      "connectionId": 42,
    58      "address": 42
    59    }
    60  ],
    61  "ignore": [
    62    "ConnectionReady",
    63    "ConnectionClosed",
    64    "ConnectionCheckOutStarted"
    65  ]
    66}

View as plain text