...
1{
2 "version": 1,
3 "style": "integration",
4 "description": "threads blocked by maxConnecting check out minPoolSize connections",
5 "runOn": [
6 {
7 "minServerVersion": "4.4.0"
8 }
9 ],
10 "failPoint": {
11 "configureFailPoint": "failCommand",
12 "mode": "alwaysOn",
13 "data": {
14 "failCommands": [
15 "isMaster",
16 "hello"
17 ],
18 "closeConnection": false,
19 "blockConnection": true,
20 "blockTimeMS": 500
21 }
22 },
23 "poolOptions": {
24 "minPoolSize": 2,
25 "maxPoolSize": 3,
26 "waitQueueTimeoutMS": 5000
27 },
28 "operations": [
29 {
30 "name": "ready"
31 },
32 {
33 "name": "start",
34 "target": "thread1"
35 },
36 {
37 "name": "start",
38 "target": "thread2"
39 },
40 {
41 "name": "wait",
42 "ms": 200
43 },
44 {
45 "name": "checkOut",
46 "thread": "thread1"
47 },
48 {
49 "name": "waitForEvent",
50 "event": "ConnectionCreated",
51 "count": 2
52 },
53 {
54 "name": "checkOut",
55 "thread": "thread2"
56 },
57 {
58 "name": "waitForEvent",
59 "event": "ConnectionCheckedOut",
60 "count": 2
61 }
62 ],
63 "events": [
64 {
65 "type": "ConnectionCreated",
66 "address": 42
67 },
68 {
69 "type": "ConnectionCreated",
70 "address": 42
71 },
72 {
73 "type": "ConnectionCheckedOut",
74 "address": 42
75 },
76 {
77 "type": "ConnectionCheckedOut",
78 "address": 42
79 }
80 ],
81 "ignore": [
82 "ConnectionPoolReady",
83 "ConnectionClosed",
84 "ConnectionReady",
85 "ConnectionPoolCreated",
86 "ConnectionCheckOutStarted"
87 ]
88}
View as plain text