...

Text file src/go.mongodb.org/mongo-driver/testdata/connection-monitoring-and-pooling/pool-checkout-connection.yml

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

     1version: 1
     2style: unit
     3description: must be able to check out a connection
     4operations:
     5  - name: ready
     6  - name: checkOut
     7events:
     8  - type: ConnectionCheckOutStarted
     9    address: 42
    10  - type: ConnectionCreated
    11    connectionId: 1
    12    address: 42
    13  - type: ConnectionReady
    14    connectionId: 1
    15    address: 42
    16  - type: ConnectionCheckedOut
    17    connectionId: 1
    18    address: 42
    19ignore:
    20  - ConnectionPoolReady
    21  - ConnectionPoolCreated

View as plain text