...

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

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

     1version: 1
     2style: unit
     3description: readying a ready pool emits no events
     4operations:
     5  - name: ready
     6  - name: ready
     7  - name: ready
     8  # the first ready after this clear should emit an event
     9  - name: clear
    10  - name: ready
    11events:
    12  - type: ConnectionPoolReady
    13    address: 42
    14  - type: ConnectionPoolCleared
    15    address: 42
    16  - type: ConnectionPoolReady
    17    address: 42
    18ignore:
    19  - ConnectionPoolCreated

View as plain text