node-postgres/test/integration/connection-pool
Brian C b1b2801c71 Add onFailure to query#then (#1082)
The promise adapter I had implemented wasn't spec compliant: it didn't accept both `onSuccess` and `onFailure` in the call to `query#then`.  This subtly broke yield & async/await because they both rely on `onError` being passed into `Promise#then`.  The pool was also not returning the promise after a client was acquired, which broke awaiting on `pool.connect` - this is also fixed now.
2016-07-19 10:16:48 -05:00
..
double-connection-tests.js initial working connection pool implementation & tests 2010-12-13 17:21:40 -06:00
ending-empty-pool-tests.js Make sure 'end' is emitted even if no connection has ever happened 2014-05-13 12:57:01 +01:00
ending-pool-tests.js from ended to end 2014-04-18 23:30:45 +08:00
error-tests.js Fix native constructor and pool exports (#1061) 2016-06-24 00:52:28 -05:00
idle-timeout-tests.js Remove internal pool (#1049) 2016-06-21 09:53:09 -05:00
max-connection-tests.js Fix max connection tests 2014-10-07 00:47:35 -04:00
native-instance-tests.js Fix native constructor and pool exports (#1061) 2016-06-24 00:52:28 -05:00
optional-config-tests.js Remove internal pool (#1049) 2016-06-21 09:53:09 -05:00
single-connection-tests.js initial working connection pool implementation & tests 2010-12-13 17:21:40 -06:00
test-helper.js integrate new pool into existing codebase 2013-02-20 16:08:48 -06:00
waiting-connection-tests.js Remove test skip 2014-09-14 21:14:24 -04:00
yield-support-body.js Add onFailure to query#then (#1082) 2016-07-19 10:16:48 -05:00
yield-support-tests.js Add onFailure to query#then (#1082) 2016-07-19 10:16:48 -05:00