...
1{
2 "version": 1,
3 "style": "unit",
4 "description": "must aggressively timeout threads enqueued longer than waitQueueTimeoutMS",
5 "poolOptions": {
6 "maxPoolSize": 1,
7 "waitQueueTimeoutMS": 50
8 },
9 "operations": [
10 {
11 "name": "ready"
12 },
13 {
14 "name": "checkOut",
15 "label": "conn0"
16 },
17 {
18 "name": "start",
19 "target": "thread1"
20 },
21 {
22 "name": "checkOut",
23 "thread": "thread1"
24 },
25 {
26 "name": "waitForEvent",
27 "event": "ConnectionCheckOutFailed",
28 "count": 1
29 },
30 {
31 "name": "checkIn",
32 "connection": "conn0"
33 },
34 {
35 "name": "waitForThread",
36 "target": "thread1"
37 }
38 ],
39 "error": {
40 "type": "WaitQueueTimeoutError",
41 "message": "Timed out while checking out a connection from connection pool"
42 },
43 "events": [
44 {
45 "type": "ConnectionCheckOutStarted",
46 "address": 42
47 },
48 {
49 "type": "ConnectionCheckedOut",
50 "connectionId": 42,
51 "address": 42
52 },
53 {
54 "type": "ConnectionCheckOutStarted",
55 "address": 42
56 },
57 {
58 "type": "ConnectionCheckOutFailed",
59 "reason": "timeout",
60 "address": 42
61 },
62 {
63 "type": "ConnectionCheckedIn",
64 "connectionId": 42,
65 "address": 42
66 }
67 ],
68 "ignore": [
69 "ConnectionCreated",
70 "ConnectionReady",
71 "ConnectionClosed",
72 "ConnectionPoolCreated",
73 "ConnectionPoolReady"
74 ]
75}
View as plain text