mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
Merge pull request #1684 from dominicletz/patch-1
Replace poolSize by max in error test
This commit is contained in:
commit
a9b3ef7cd3
@ -2,10 +2,8 @@
|
||||
var helper = require('./test-helper')
|
||||
const pg = helper.pg
|
||||
|
||||
// first make pool hold 2 clients
|
||||
pg.defaults.poolSize = 2
|
||||
|
||||
const pool = new pg.Pool()
|
||||
// make pool hold 2 clients
|
||||
const pool = new pg.Pool({ max: 2 })
|
||||
|
||||
const suite = new helper.Suite()
|
||||
suite.test('connecting to invalid port', (cb) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user