Debian Codegraph @

testdata/connection-monitoring-and-pooling/pool-clear-interrupting-pending-connections.yml

raw symbols SCIP
1 version: 1
2 style: integration
3 description: clear with interruptInUseConnections = true closes pending connections
4 runOn:
5 -
6 minServerVersion: "4.9.0"
7 failPoint:
8 configureFailPoint: failCommand
9 mode: "alwaysOn"
10 data:
11 failCommands: ["isMaster","hello"]
12 closeConnection: false
13 blockConnection: true
14 blockTimeMS: 1000
15 poolOptions:
16 minPoolSize: 0
17 operations:
18 - name: ready
19 - name: start
20 target: thread1
21 - name: checkOut
22 thread: thread1
23 - name: waitForEvent
24 event: ConnectionCreated
25 count: 1
26 - name: clear
27 interruptInUseConnections: true
28 - name: waitForEvent
29 event: ConnectionCheckOutFailed
30 count: 1
31 events:
32 - type: ConnectionCheckOutStarted
33 - type: ConnectionCreated
34 - type: ConnectionPoolCleared
35 interruptInUseConnections: true
36 - type: ConnectionClosed
37 - type: ConnectionCheckOutFailed
38 ignore:
39 - ConnectionCheckedIn
40 - ConnectionCheckedOut
41 - ConnectionPoolCreated
42 - ConnectionPoolReady