| 1 |
version: 1 |
| 2 |
style: unit |
| 3 |
description: must aggressively timeout threads enqueued longer than waitQueueTimeoutMS |
| 4 |
poolOptions: |
| 5 |
maxPoolSize: 1 |
| 6 |
waitQueueTimeoutMS: 50 |
| 7 |
operations: |
| 8 |
- name: ready |
| 9 |
|
| 10 |
- name: checkOut |
| 11 |
label: conn0 |
| 12 |
|
| 13 |
- name: start |
| 14 |
target: thread1 |
| 15 |
- name: checkOut |
| 16 |
thread: thread1 |
| 17 |
|
| 18 |
- name: waitForEvent |
| 19 |
event: ConnectionCheckOutFailed |
| 20 |
count: 1 |
| 21 |
- name: checkIn |
| 22 |
connection: conn0 |
| 23 |
|
| 24 |
- name: waitForThread |
| 25 |
target: thread1 |
| 26 |
error: |
| 27 |
type: WaitQueueTimeoutError |
| 28 |
message: Timed out while checking out a connection from connection pool |
| 29 |
events: |
| 30 |
- type: ConnectionCheckOutStarted |
| 31 |
address: 42 |
| 32 |
- type: ConnectionCheckedOut |
| 33 |
connectionId: 42 |
| 34 |
address: 42 |
| 35 |
- type: ConnectionCheckOutStarted |
| 36 |
address: 42 |
| 37 |
- type: ConnectionCheckOutFailed |
| 38 |
reason: timeout |
| 39 |
address: 42 |
| 40 |
- type: ConnectionCheckedIn |
| 41 |
connectionId: 42 |
| 42 |
address: 42 |
| 43 |
ignore: |
| 44 |
- ConnectionCreated |
| 45 |
- ConnectionReady |
| 46 |
- ConnectionClosed |
| 47 |
- ConnectionPoolCreated |
| 48 |
- ConnectionPoolReady |