...

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

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

     1version: 1
     2style: unit
     3description: must have a method of allowing the driver to check in a connection
     4operations:
     5  - name: ready
     6  - name: checkOut
     7    label: conn
     8  - name: checkIn
     9    connection: conn
    10events:
    11  - type: ConnectionCheckedIn
    12    connectionId: 42
    13    address: 42
    14ignore:
    15  - ConnectionPoolCreated
    16  - ConnectionPoolReady
    17  - ConnectionCreated
    18  - ConnectionReady
    19  - ConnectionClosed
    20  - ConnectionCheckOutStarted
    21  - ConnectionCheckedOut

View as plain text