...

Text file src/go.mongodb.org/mongo-driver/testdata/connection-monitoring-and-pooling/pool-create-with-options.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 various options set",
     5  "poolOptions": {
     6    "maxPoolSize": 50,
     7    "minPoolSize": 5,
     8    "maxIdleTimeMS": 100
     9  },
    10  "operations": [
    11    {
    12      "name": "waitForEvent",
    13      "event": "ConnectionPoolCreated",
    14      "count": 1
    15    }
    16  ],
    17  "events": [
    18    {
    19      "type": "ConnectionPoolCreated",
    20      "address": 42,
    21      "options": {
    22        "maxPoolSize": 50,
    23        "minPoolSize": 5,
    24        "maxIdleTimeMS": 100
    25      }
    26    }
    27  ],
    28  "ignore": [
    29    "ConnectionCreated",
    30    "ConnectionReady"
    31  ]
    32}

View as plain text