...
1version: 1
2style: unit
3description: pool clear halts background minPoolSize establishments
4poolOptions:
5 minPoolSize: 1
6 backgroundThreadIntervalMS: 50
7operations:
8 - name: ready
9 - name: waitForEvent
10 event: ConnectionReady
11 count: 1
12 - name: clear
13 # ensure no connections created after clear
14 - name: wait
15 ms: 200
16 - name: ready
17 - name: waitForEvent
18 event: ConnectionReady
19 count: 2
20events:
21 - type: ConnectionPoolReady
22 address: 42
23 - type: ConnectionCreated
24 address: 42
25 - type: ConnectionReady
26 address: 42
27 - type: ConnectionPoolCleared
28 address: 42
29 - type: ConnectionPoolReady
30 address: 42
31 - type: ConnectionCreated
32 address: 42
33 - type: ConnectionReady
34 address: 42
35ignore:
36 - ConnectionPoolCreated
37 - ConnectionClosed
View as plain text