| 1 | { |
| 2 | "version": 1, |
| 3 | "style": "integration", |
| 4 | "description": "error during minPoolSize population clears pool", |
| 5 | "runOn": [ |
| 6 | { |
| 7 | "minServerVersion": "4.9.0" |
| 8 | } |
| 9 | ], |
| 10 | "failPoint": { |
| 11 | "configureFailPoint": "failCommand", |
| 12 | "mode": { |
| 13 | "times": 50 |
| 14 | }, |
| 15 | "data": { |
| 16 | "failCommands": [ |
| 17 | "isMaster", |
| 18 | "hello" |
| 19 | ], |
| 20 | "closeConnection": true, |
| 21 | "appName": "poolCreateMinSizeErrorTest" |
| 22 | } |
| 23 | }, |
| 24 | "poolOptions": { |
| 25 | "minPoolSize": 1, |
| 26 | "backgroundThreadIntervalMS": 50, |
| 27 | "appName": "poolCreateMinSizeErrorTest" |
| 28 | }, |
| 29 | "operations": [ |
| 30 | { |
| 31 | "name": "ready" |
| 32 | }, |
| 33 | { |
| 34 | "name": "waitForEvent", |
| 35 | "event": "ConnectionPoolCleared", |
| 36 | "count": 1 |
| 37 | }, |
| 38 | { |
| 39 | "name": "wait", |
| 40 | "ms": 200 |
| 41 | } |
| 42 | ], |
| 43 | "events": [ |
| 44 | { |
| 45 | "type": "ConnectionPoolReady", |
| 46 | "address": 42 |
| 47 | }, |
| 48 | { |
| 49 | "type": "ConnectionCreated", |
| 50 | "address": 42 |
| 51 | }, |
| 52 | { |
| 53 | "type": "ConnectionClosed", |
| 54 | "address": 42, |
| 55 | "connectionId": 42, |
| 56 | "reason": "error" |
| 57 | }, |
| 58 | { |
| 59 | "type": "ConnectionPoolCleared", |
| 60 | "address": 42 |
| 61 | } |
| 62 | ], |
| 63 | "ignore": [ |
| 64 | "ConnectionPoolCreated" |
| 65 | ] |
| 66 | } |