...
1version: 1
2style: unit
3description: must be able to start a pool with minPoolSize connections
4poolOptions:
5 minPoolSize: 3
6operations:
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
18events:
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
37ignore:
38 - ConnectionReady
39 - ConnectionClosed
40 - ConnectionCheckOutStarted
View as plain text