bson/testdata/connection-monitoring-and-pooling/pool-create-with-options.yml
2025-03-17 20:58:26 +01:00

22 lines
427 B
YAML

version: 1
style: unit
description: must be able to start a pool with various options set
poolOptions:
maxPoolSize: 50
minPoolSize: 5
maxIdleTimeMS: 100
operations:
- name: waitForEvent
event: ConnectionPoolCreated
count: 1
events:
- type: ConnectionPoolCreated
address: 42
options:
maxPoolSize: 50
minPoolSize: 5
maxIdleTimeMS: 100
ignore:
- ConnectionCreated
- ConnectionReady