From 2ea5f91f4ac72f90c956b0e4edb658585fb42cf2 Mon Sep 17 00:00:00 2001 From: Dominic Letz Date: Mon, 9 Jul 2018 11:46:56 +0800 Subject: [PATCH] Replace poolSize by max in error test --- test/integration/connection-pool/error-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()