...

Text file src/go.mongodb.org/mongo-driver/testdata/connection-monitoring-and-pooling/pool-checkout-maxConnecting-is-enforced.json

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

     1{
     2  "version": 1,
     3  "style": "integration",
     4  "description": "maxConnecting is enforced",
     5  "runOn": [
     6    {
     7      "minServerVersion": "4.4.0"
     8    }
     9  ],
    10  "failPoint": {
    11    "configureFailPoint": "failCommand",
    12    "mode": {
    13      "times": 50
    14    },
    15    "data": {
    16      "failCommands": [
    17        "isMaster",
    18        "hello"
    19      ],
    20      "closeConnection": false,
    21      "blockConnection": true,
    22      "blockTimeMS": 750
    23    }
    24  },
    25  "poolOptions": {
    26    "maxPoolSize": 10,
    27    "waitQueueTimeoutMS": 5000
    28  },
    29  "operations": [
    30    {
    31      "name": "ready"
    32    },
    33    {
    34      "name": "start",
    35      "target": "thread1"
    36    },
    37    {
    38      "name": "start",
    39      "target": "thread2"
    40    },
    41    {
    42      "name": "start",
    43      "target": "thread3"
    44    },
    45    {
    46      "name": "checkOut",
    47      "thread": "thread1"
    48    },
    49    {
    50      "name": "waitForEvent",
    51      "event": "ConnectionCreated",
    52      "count": 1
    53    },
    54    {
    55      "name": "wait",
    56      "ms": 100
    57    },
    58    {
    59      "name": "checkOut",
    60      "thread": "thread2"
    61    },
    62    {
    63      "name": "checkOut",
    64      "thread": "thread3"
    65    },
    66    {
    67      "name": "waitForEvent",
    68      "event": "ConnectionReady",
    69      "count": 3
    70    }
    71  ],
    72  "events": [
    73    {
    74      "type": "ConnectionCreated",
    75      "address": 42,
    76      "connectionId": 1
    77    },
    78    {
    79      "type": "ConnectionCreated",
    80      "address": 42
    81    },
    82    {
    83      "type": "ConnectionReady",
    84      "address": 42,
    85      "connectionId": 1
    86    },
    87    {
    88      "type": "ConnectionCreated",
    89      "address": 42
    90    },
    91    {
    92      "type": "ConnectionReady",
    93      "address": 42
    94    },
    95    {
    96      "type": "ConnectionReady",
    97      "address": 42
    98    }
    99  ],
   100  "ignore": [
   101    "ConnectionCheckOutStarted",
   102    "ConnectionCheckedIn",
   103    "ConnectionCheckedOut",
   104    "ConnectionClosed",
   105    "ConnectionPoolCreated",
   106    "ConnectionPoolReady"
   107  ]
   108}

View as plain text