...
1{
2 "version": 1,
3 "style": "unit",
4 "description": "must throw error if checkOut is called on a closed pool",
5 "operations": [
6 {
7 "name": "ready"
8 },
9 {
10 "name": "checkOut",
11 "label": "conn1"
12 },
13 {
14 "name": "checkIn",
15 "connection": "conn1"
16 },
17 {
18 "name": "close"
19 },
20 {
21 "name": "checkOut"
22 }
23 ],
24 "error": {
25 "type": "PoolClosedError",
26 "message": "Attempted to check out a connection from closed connection pool"
27 },
28 "events": [
29 {
30 "type": "ConnectionPoolCreated",
31 "address": 42,
32 "options": 42
33 },
34 {
35 "type": "ConnectionCheckOutStarted",
36 "address": 42
37 },
38 {
39 "type": "ConnectionCheckedOut",
40 "address": 42,
41 "connectionId": 42
42 },
43 {
44 "type": "ConnectionCheckedIn",
45 "address": 42,
46 "connectionId": 42
47 },
48 {
49 "type": "ConnectionPoolClosed",
50 "address": 42
51 },
52 {
53 "type": "ConnectionCheckOutStarted",
54 "address": 42
55 },
56 {
57 "type": "ConnectionCheckOutFailed",
58 "address": 42,
59 "reason": "poolClosed"
60 }
61 ],
62 "ignore": [
63 "ConnectionPoolReady",
64 "ConnectionCreated",
65 "ConnectionReady",
66 "ConnectionClosed"
67 ]
68}
View as plain text