()
| 23 | next(); |
| 24 | |
| 25 | function done() { |
| 26 | assert.deepEqual(order, [ |
| 27 | 'SLAVE2', |
| 28 | 'SLAVE3', |
| 29 | 'SLAVE2', |
| 30 | 'SLAVE2', |
| 31 | 'SLAVE1', |
| 32 | 'SLAVE2', |
| 33 | 'SLAVE1' |
| 34 | ]); |
| 35 | cluster.end(function (err) { |
| 36 | assert.ifError(err); |
| 37 | server.destroy(); |
| 38 | }); |
| 39 | } |
| 40 | |
| 41 | function next() { |
| 42 | pool.getConnection(function (err, conn) { |
no outgoing calls
no test coverage detected