Debian Codegraph @

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

raw symbols SCIP
1 version: 1
2 style: unit
3 description: pool clear halts background minPoolSize establishments
4 poolOptions:
5 minPoolSize: 1
6 backgroundThreadIntervalMS: 50
7 operations:
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
20 events:
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
35 ignore:
36 - ConnectionPoolCreated
37 - ConnectionClosed