...

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

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

     1version: 1
     2style: unit
     3description: pool starts as cleared and becomes ready
     4operations:
     5  - name: start
     6    target: thread1
     7  - name: checkOut
     8    thread: thread1
     9  - name: waitForEvent
    10    event: ConnectionCheckOutFailed
    11    count: 1
    12  - name: ready
    13  - name: checkOut
    14events:
    15  - type: ConnectionCheckOutStarted
    16    address: 42
    17  - type: ConnectionCheckOutFailed
    18    reason: connectionError
    19    address: 42
    20  - type: ConnectionPoolReady
    21    address: 42
    22  - type: ConnectionCheckOutStarted
    23    address: 42
    24  - type: ConnectionCreated
    25    address: 42
    26  - type: ConnectionCheckedOut
    27    address: 42
    28ignore:
    29  - ConnectionPoolCreated
    30  - ConnectionReady

View as plain text