Skip to content

Commit 7667e7c

Browse files
authored
Fix and enable pool verify option test (brianc#2528)
by not double-releasing. Reviewed-by: Sehrope Sarkuni <sehrope@jackdb.com>
1 parent 8f0db30 commit 7667e7c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/pg-pool/test/verify.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ const it = require('mocha').it
77
const Pool = require('../')
88

99
describe('verify', () => {
10-
it('verifies a client with a callback', false, (done) => {
10+
it('verifies a client with a callback', (done) => {
1111
const pool = new Pool({
1212
verify: (client, cb) => {
13-
client.release()
1413
cb(new Error('nope'))
1514
},
1615
})

0 commit comments

Comments
 (0)