Debian Codegraph @

testdata/connection-monitoring-and-pooling/pool-create-min-size-error.yml

raw symbols SCIP
1 version: 1
2 style: integration
3 description: error during minPoolSize population clears pool
4 runOn:
5 -
6 # required for appName in fail point
7 minServerVersion: "4.9.0"
8 failPoint:
9 configureFailPoint: failCommand
10 # high amount to ensure not interfered with by monitor checks.
11 mode: { times: 50 }
12 data:
13 failCommands: ["isMaster","hello"]
14 closeConnection: true
15 appName: "poolCreateMinSizeErrorTest"
16 poolOptions:
17 minPoolSize: 1
18 backgroundThreadIntervalMS: 50
19 appName: "poolCreateMinSizeErrorTest"
20 operations:
21 - name: ready
22 - name: waitForEvent
23 event: ConnectionPoolCleared
24 count: 1
25 # ensure pool doesn't start making new connections
26 - name: wait
27 ms: 200
28 events:
29 - type: ConnectionPoolReady
30 address: 42
31 - type: ConnectionCreated
32 address: 42
33 - type: ConnectionClosed
34 address: 42
35 connectionId: 42
36 reason: error
37 - type: ConnectionPoolCleared
38 address: 42
39 ignore:
40 - ConnectionPoolCreated