...

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

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

     1version: 1
     2style: unit
     3description: after clear, cannot check out connections until pool ready
     4operations:
     5  - name: ready
     6  - name: checkOut
     7  - name: clear
     8  - name: start
     9    target: thread1
    10  - name: checkOut
    11    thread: thread1
    12  - name: waitForEvent
    13    event: ConnectionCheckOutFailed
    14    count: 1
    15  - name: ready
    16  - name: checkOut
    17events:
    18  - type: ConnectionPoolReady
    19    address: 42
    20  - type: ConnectionCheckedOut
    21    address: 42
    22    connectionId: 42
    23  - type: ConnectionPoolCleared
    24    address: 42
    25  - type: ConnectionCheckOutFailed
    26    address: 42
    27    reason: connectionError
    28  - type: ConnectionPoolReady
    29    address: 42
    30  - type: ConnectionCheckedOut
    31    address: 42
    32ignore:
    33  - ConnectionPoolCreated
    34  - ConnectionReady
    35  - ConnectionCheckOutStarted
    36  - ConnectionCreated

View as plain text