...
1{
2 "version": 1,
3 "style": "unit",
4 "description": "Pool clear SHOULD schedule the next background thread run immediately (interruptInUseConnections = false)",
5 "poolOptions": {
6 "backgroundThreadIntervalMS": 10000
7 },
8 "operations": [
9 {
10 "name": "ready"
11 },
12 {
13 "name": "checkOut"
14 },
15 {
16 "name": "checkOut",
17 "label": "conn"
18 },
19 {
20 "name": "checkIn",
21 "connection": "conn"
22 },
23 {
24 "name": "clear",
25 "interruptInUseConnections": false
26 },
27 {
28 "name": "waitForEvent",
29 "event": "ConnectionPoolCleared",
30 "count": 1,
31 "timeout": 1000
32 },
33 {
34 "name": "waitForEvent",
35 "event": "ConnectionClosed",
36 "count": 1,
37 "timeout": 1000
38 },
39 {
40 "name": "close"
41 }
42 ],
43 "events": [
44 {
45 "type": "ConnectionCheckedOut",
46 "connectionId": 1,
47 "address": 42
48 },
49 {
50 "type": "ConnectionCheckedOut",
51 "connectionId": 2,
52 "address": 42
53 },
54 {
55 "type": "ConnectionCheckedIn",
56 "connectionId": 2,
57 "address": 42
58 },
59 {
60 "type": "ConnectionPoolCleared",
61 "interruptInUseConnections": false
62 },
63 {
64 "type": "ConnectionClosed",
65 "connectionId": 2,
66 "reason": "stale",
67 "address": 42
68 },
69 {
70 "type": "ConnectionPoolClosed",
71 "address": 42
72 }
73 ],
74 "ignore": [
75 "ConnectionCreated",
76 "ConnectionPoolReady",
77 "ConnectionReady",
78 "ConnectionCheckOutStarted",
79 "ConnectionPoolCreated"
80 ]
81}
View as plain text