...

Text file src/go.mongodb.org/mongo-driver/testdata/connection-monitoring-and-pooling/connection-must-order-ids.json

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

     1{
     2  "version": 1,
     3  "style": "unit",
     4  "description": "must have IDs assigned in order of creation",
     5  "operations": [
     6    {
     7      "name": "ready"
     8    },
     9    {
    10      "name": "checkOut"
    11    },
    12    {
    13      "name": "checkOut"
    14    }
    15  ],
    16  "events": [
    17    {
    18      "type": "ConnectionCheckOutStarted",
    19      "address": 42
    20    },
    21    {
    22      "type": "ConnectionCreated",
    23      "connectionId": 1,
    24      "address": 42
    25    },
    26    {
    27      "type": "ConnectionCheckedOut",
    28      "connectionId": 1,
    29      "address": 42
    30    },
    31    {
    32      "type": "ConnectionCheckOutStarted",
    33      "address": 42
    34    },
    35    {
    36      "type": "ConnectionCreated",
    37      "connectionId": 2,
    38      "address": 42
    39    },
    40    {
    41      "type": "ConnectionCheckedOut",
    42      "connectionId": 2,
    43      "address": 42
    44    }
    45  ],
    46  "ignore": [
    47    "ConnectionPoolCreated",
    48    "ConnectionPoolReady",
    49    "ConnectionPoolClosed",
    50    "ConnectionReady"
    51  ]
    52}

View as plain text