| 1 | { |
| 2 | "version": 1, |
| 3 | "style": "unit", |
| 4 | "description": "after clear, cannot check out connections until pool ready", |
| 5 | "operations": [ |
| 6 | { |
| 7 | "name": "ready" |
| 8 | }, |
| 9 | { |
| 10 | "name": "checkOut" |
| 11 | }, |
| 12 | { |
| 13 | "name": "clear" |
| 14 | }, |
| 15 | { |
| 16 | "name": "start", |
| 17 | "target": "thread1" |
| 18 | }, |
| 19 | { |
| 20 | "name": "checkOut", |
| 21 | "thread": "thread1" |
| 22 | }, |
| 23 | { |
| 24 | "name": "waitForEvent", |
| 25 | "event": "ConnectionCheckOutFailed", |
| 26 | "count": 1 |
| 27 | }, |
| 28 | { |
| 29 | "name": "ready" |
| 30 | }, |
| 31 | { |
| 32 | "name": "checkOut" |
| 33 | } |
| 34 | ], |
| 35 | "events": [ |
| 36 | { |
| 37 | "type": "ConnectionPoolReady", |
| 38 | "address": 42 |
| 39 | }, |
| 40 | { |
| 41 | "type": "ConnectionCheckedOut", |
| 42 | "address": 42, |
| 43 | "connectionId": 42 |
| 44 | }, |
| 45 | { |
| 46 | "type": "ConnectionPoolCleared", |
| 47 | "address": 42 |
| 48 | }, |
| 49 | { |
| 50 | "type": "ConnectionCheckOutFailed", |
| 51 | "address": 42, |
| 52 | "reason": "connectionError" |
| 53 | }, |
| 54 | { |
| 55 | "type": "ConnectionPoolReady", |
| 56 | "address": 42 |
| 57 | }, |
| 58 | { |
| 59 | "type": "ConnectionCheckedOut", |
| 60 | "address": 42 |
| 61 | } |
| 62 | ], |
| 63 | "ignore": [ |
| 64 | "ConnectionPoolCreated", |
| 65 | "ConnectionReady", |
| 66 | "ConnectionCheckOutStarted", |
| 67 | "ConnectionCreated" |
| 68 | ] |
| 69 | } |