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