diff --git a/test/integration/connection-pool/error-tests.js b/test/integration/connection-pool/error-tests.js index fbc0fded..b7ab986d 100644 --- a/test/integration/connection-pool/error-tests.js +++ b/test/integration/connection-pool/error-tests.js @@ -3,7 +3,7 @@ var helper = require('./test-helper') const pg = helper.pg // first make pool hold 2 clients -pg.defaults.poolSize = 2 +pg.defaults.max = 2 const pool = new pg.Pool()