| 1 | version: 1 |
| 2 | style: unit |
| 3 | description: after clear, cannot check out connections until pool ready |
| 4 | operations: |
| 5 | - name: ready |
| 6 | - name: checkOut |
| 7 | - name: clear |
| 8 | - name: start |
| 9 | target: thread1 |
| 10 | - name: checkOut |
| 11 | thread: thread1 |
| 12 | - name: waitForEvent |
| 13 | event: ConnectionCheckOutFailed |
| 14 | count: 1 |
| 15 | - name: ready |
| 16 | - name: checkOut |
| 17 | events: |
| 18 | - type: ConnectionPoolReady |
| 19 | address: 42 |
| 20 | - type: ConnectionCheckedOut |
| 21 | address: 42 |
| 22 | connectionId: 42 |
| 23 | - type: ConnectionPoolCleared |
| 24 | address: 42 |
| 25 | - type: ConnectionCheckOutFailed |
| 26 | address: 42 |
| 27 | reason: connectionError |
| 28 | - type: ConnectionPoolReady |
| 29 | address: 42 |
| 30 | - type: ConnectionCheckedOut |
| 31 | address: 42 |
| 32 | ignore: |
| 33 | - ConnectionPoolCreated |
| 34 | - ConnectionReady |
| 35 | - ConnectionCheckOutStarted |
| 36 | - ConnectionCreated |