| 1 | { |
| 2 | "version": 1, |
| 3 | "style": "unit", |
| 4 | "description": "must destroy checked in connection if it is stale", |
| 5 | "operations": [ |
| 6 | { |
| 7 | "name": "ready" |
| 8 | }, |
| 9 | { |
| 10 | "name": "checkOut", |
| 11 | "label": "conn" |
| 12 | }, |
| 13 | { |
| 14 | "name": "clear" |
| 15 | }, |
| 16 | { |
| 17 | "name": "checkIn", |
| 18 | "connection": "conn" |
| 19 | } |
| 20 | ], |
| 21 | "events": [ |
| 22 | { |
| 23 | "type": "ConnectionCheckedOut", |
| 24 | "connectionId": 1, |
| 25 | "address": 42 |
| 26 | }, |
| 27 | { |
| 28 | "type": "ConnectionPoolCleared", |
| 29 | "address": 42 |
| 30 | }, |
| 31 | { |
| 32 | "type": "ConnectionCheckedIn", |
| 33 | "connectionId": 1, |
| 34 | "address": 42 |
| 35 | }, |
| 36 | { |
| 37 | "type": "ConnectionClosed", |
| 38 | "connectionId": 1, |
| 39 | "reason": "stale", |
| 40 | "address": 42 |
| 41 | } |
| 42 | ], |
| 43 | "ignore": [ |
| 44 | "ConnectionPoolCreated", |
| 45 | "ConnectionPoolReady", |
| 46 | "ConnectionCreated", |
| 47 | "ConnectionReady", |
| 48 | "ConnectionCheckOutStarted" |
| 49 | ] |
| 50 | } |