...

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

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

     1version: 1
     2style: unit
     3description: must have IDs assigned in order of creation
     4operations:
     5  - name: ready
     6  - name: checkOut
     7  - name: checkOut
     8events:
     9  - type: ConnectionCheckOutStarted
    10    address: 42
    11  - type: ConnectionCreated
    12    connectionId: 1
    13    address: 42
    14  - type: ConnectionCheckedOut
    15    connectionId: 1
    16    address: 42
    17  - type: ConnectionCheckOutStarted
    18    address: 42
    19  - type: ConnectionCreated
    20    connectionId: 2
    21    address: 42
    22  - type: ConnectionCheckedOut
    23    connectionId: 2
    24    address: 42
    25ignore:
    26  - ConnectionPoolCreated
    27  - ConnectionPoolReady
    28  - ConnectionPoolClosed
    29  - ConnectionReady

View as plain text