Skip to content

Commit

Permalink
Removed unneeded timeout from mysql basic-pool callback test
Browse files Browse the repository at this point in the history
Signed-off-by: mrickard <[email protected]>
  • Loading branch information
mrickard committed May 23, 2023
1 parent 23332bb commit c75f383
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/versioned/mysql/basic-pool.tap.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,8 @@ tap.test('mysql built-in connection pools', function (t) {
t.test('lack of callback does not explode', function (t) {
helper.runInTransaction(agent, function transactionInScope(txn) {
pool.query('SET SESSION auto_increment_increment=1')
setTimeout(function () {
// without the timeout, the pool is closed before the query is able to execute
txn.end()
t.end()
}, 500)
txn.end()
t.end()
})
})

Expand Down

0 comments on commit c75f383

Please sign in to comment.