...
1version: 1
2style: unit
3description: Connections MUST be interrupted as soon as possible (interruptInUseConnections=true)
4poolOptions:
5 # ensure it's not involved by default
6 backgroundThreadIntervalMS: 10000
7operations:
8 - name: ready
9 - name: checkOut
10 - name: checkOut
11 label: conn
12 - name: clear
13 interruptInUseConnections: true
14 - name: waitForEvent
15 event: ConnectionPoolCleared
16 count: 1
17 timeout: 1000
18 - name: waitForEvent
19 event: ConnectionClosed
20 count: 2
21 timeout: 1000
22 - name: close
23events:
24 - type: ConnectionCheckedOut
25 connectionId: 1
26 address: 42
27 - type: ConnectionCheckedOut
28 connectionId: 2
29 address: 42
30 - type: ConnectionPoolCleared
31 interruptInUseConnections: true
32 - type: ConnectionClosed
33 reason: stale
34 address: 42
35 - type: ConnectionClosed
36 reason: stale
37 address: 42
38 - type: ConnectionPoolClosed
39 address: 42
40ignore:
41 - ConnectionCreated
42 - ConnectionPoolReady
43 - ConnectionReady
44 - ConnectionCheckOutStarted
45 - ConnectionPoolCreated
46 - ConnectionCheckedIn
View as plain text