Skip to content

Commit a9b3ef7

Browse files
authored
Merge pull request brianc#1684 from dominicletz/patch-1
Replace poolSize by max in error test
2 parents 1cbd507 + 28e66cc commit a9b3ef7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/integration/connection-pool/error-tests.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
var helper = require('./test-helper')
33
const pg = helper.pg
44

5-
// first make pool hold 2 clients
6-
pg.defaults.poolSize = 2
7-
8-
const pool = new pg.Pool()
5+
// make pool hold 2 clients
6+
const pool = new pg.Pool({ max: 2 })
97

108
const suite = new helper.Suite()
119
suite.test('connecting to invalid port', (cb) => {

0 commit comments

Comments
 (0)