...
1version: 1
2style: integration
3description: error during minPoolSize population clears pool
4runOn:
5 -
6 # required for appName in fail point
7 minServerVersion: "4.9.0"
8failPoint:
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"
16poolOptions:
17 minPoolSize: 1
18 backgroundThreadIntervalMS: 50
19 appName: "poolCreateMinSizeErrorTest"
20operations:
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
28events:
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
39ignore:
40 - ConnectionPoolCreated
View as plain text