Debian Codegraph @

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

raw symbols SCIP
1 version: 1
2 style: unit
3 description: must be able to start a pool with minPoolSize connections
4 poolOptions:
5 minPoolSize: 3
6 operations:
7 # ensure no connections are created until this pool is ready
8 - name: wait
9 ms: 200
10 - name: ready
11 - name: waitForEvent
12 event: ConnectionCreated
13 count: 3
14 - name: waitForEvent
15 event: ConnectionReady
16 count: 3
17 - name: checkOut
18 events:
19 - type: ConnectionPoolCreated
20 address: 42
21 options: 42
22 - type: ConnectionPoolReady
23 address: 42
24 - type: ConnectionCreated
25 connectionId: 42
26 address: 42
27 - type: ConnectionCreated
28 connectionId: 42
29 address: 42
30 - type: ConnectionCreated
31 connectionId: 42
32 address: 42
33 # Ensures that by the time pool is closed, there are at least 3 connections
34 - type: ConnectionCheckedOut
35 connectionId: 42
36 address: 42
37 ignore:
38 - ConnectionReady
39 - ConnectionClosed
40 - ConnectionCheckOutStarted