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