(sequelize)
| 212 | } |
| 213 | |
| 214 | async function getConnectionPid(sequelize) { |
| 215 | const connection = await sequelize.connectionManager.getConnection(); |
| 216 | const pid = connection.processID; |
| 217 | sequelize.connectionManager.releaseConnection(connection); |
| 218 | |
| 219 | return pid; |
| 220 | } |
| 221 | |
| 222 | it('reuses connection after statement timeout', async () => { |
| 223 | // client timeout > statement timeout means that the query should fail with a statement timeout |
no test coverage detected