1{
2 "version": 1,
3 "style": "unit",
4 "description": "must issue Connections to threads in the order that the threads entered the queue",
5 "poolOptions": {
6 "maxPoolSize": 1,
7 "waitQueueTimeoutMS": 5000
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 "label": "conn1"
25 },
26 {
27 "name": "waitForEvent",
28 "event": "ConnectionCheckOutStarted",
29 "count": 2
30 },
31 {
32 "name": "wait",
33 "ms": 100
34 },
35 {
36 "name": "start",
37 "target": "thread2"
38 },
39 {
40 "name": "checkOut",
41 "thread": "thread2",
42 "label": "conn2"
43 },
44 {
45 "name": "waitForEvent",
46 "event": "ConnectionCheckOutStarted",
47 "count": 3
48 },
49 {
50 "name": "wait",
51 "ms": 100
52 },
53 {
54 "name": "start",
55 "target": "thread3"
56 },
57 {
58 "name": "checkOut",
59 "thread": "thread3",
60 "label": "conn3"
61 },
62 {
63 "name": "waitForEvent",
64 "event": "ConnectionCheckOutStarted",
65 "count": 4
66 },
67 {
68 "name": "wait",
69 "ms": 100
70 },
71 {
72 "name": "start",
73 "target": "thread4"
74 },
75 {
76 "name": "checkOut",
77 "thread": "thread4",
78 "label": "conn4"
79 },
80 {
81 "name": "waitForEvent",
82 "event": "ConnectionCheckOutStarted",
83 "count": 5
84 },
85 {
86 "name": "wait",
87 "ms": 100
88 },
89 {
90 "name": "checkIn",
91 "connection": "conn0"
92 },
93 {
94 "name": "waitForThread",
95 "target": "thread1"
96 },
97 {
98 "name": "checkIn",
99 "connection": "conn1"
100 },
101 {
102 "name": "waitForThread",
103 "target": "thread2"
104 },
105 {
106 "name": "checkIn",
107 "connection": "conn2"
108 },
109 {
110 "name": "waitForThread",
111 "target": "thread3"
112 },
113 {
114 "name": "checkIn",
115 "connection": "conn3"
116 },
117 {
118 "name": "waitForThread",
119 "target": "thread4"
120 }
121 ],
122 "events": [
123 {
124 "type": "ConnectionCheckOutStarted",
125 "address": 42
126 },
127 {
128 "type": "ConnectionCheckedOut",
129 "connectionId": 42,
130 "address": 42
131 },
132 {
133 "type": "ConnectionCheckOutStarted",
134 "address": 42
135 },
136 {
137 "type": "ConnectionCheckOutStarted",
138 "address": 42
139 },
140 {
141 "type": "ConnectionCheckOutStarted",
142 "address": 42
143 },
144 {
145 "type": "ConnectionCheckOutStarted",
146 "address": 42
147 },
148 {
149 "type": "ConnectionCheckedIn",
150 "connectionId": 42,
151 "address": 42
152 },
153 {
154 "type": "ConnectionCheckedOut",
155 "connectionId": 42,
156 "address": 42
157 },
158 {
159 "type": "ConnectionCheckedIn",
160 "connectionId": 42,
161 "address": 42
162 },
163 {
164 "type": "ConnectionCheckedOut",
165 "connectionId": 42,
166 "address": 42
167 },
168 {
169 "type": "ConnectionCheckedIn",
170 "connectionId": 42,
171 "address": 42
172 },
173 {
174 "type": "ConnectionCheckedOut",
175 "connectionId": 42,
176 "address": 42
177 },
178 {
179 "type": "ConnectionCheckedIn",
180 "connectionId": 42,
181 "address": 42
182 },
183 {
184 "type": "ConnectionCheckedOut",
185 "connectionId": 42,
186 "address": 42
187 }
188 ],
189 "ignore": [
190 "ConnectionCreated",
191 "ConnectionReady",
192 "ConnectionClosed",
193 "ConnectionPoolReady",
194 "ConnectionPoolCreated"
195 ]
196}
View as plain text