version: 1
style: unit
description: readying a ready pool emits no events
# Remove the topology runOn requirement when cmap specs are adjusted for lbs
runOn:
  - topology: [ "single", "replicaset", "sharded" ]
operations:
  - name: ready
  - name: ready
  - name: ready
  # the first ready after this clear should emit an event
  - name: clear
  - name: ready
events:
  - type: ConnectionPoolReady
    address: 42
  - type: ConnectionPoolCleared
    address: 42
  - type: ConnectionPoolReady
    address: 42
ignore:
  - ConnectionPoolCreated
