Brian Carlson
76c59a01f2
Emit error when backend unexpectedly disconnects
2017-06-09 12:27:47 -05:00
Brian M. Carlson
d2bb532d73
Make moar tests pass
2014-09-14 21:11:51 -04:00
Brian M. Carlson
667c528ea6
Work towards more tests passing
2014-09-14 01:23:02 -04:00
Maciek Sakrejda
816e9b43ea
Use the standard postgres:// URL prefix for consistency
...
Fixes #286 .
2013-07-22 10:45:26 -07:00
Brian Carlson
3f4a44e973
Skip error test on travis
...
Some weird thing with the environment up there is causing the test
to fail about 30% of the time it runs.
2013-07-08 08:04:53 -05:00
Brian Carlson
d3ba322e3c
Add more output to test to help debug it on travis
2013-07-05 12:52:04 -05:00
bmc
95507dac5f
Enable connection failure error handling tests
2013-06-30 11:39:07 -07:00
brianc
683d636501
better handling of client stream termination
...
1. Pass an error to an active query if the client is ended while a query is in progress.
2. actually emit 'end' event on the client when the stream ends
3. do not emit an error from native bindings if lasterror is null
2013-03-28 13:24:33 -05:00
brianc
40f084460e
ignore hanging tests
2012-10-15 17:43:14 -05:00
booo
ccc3f81dfa
enable some useful test cases again
2012-07-06 15:59:38 +02:00
brianc
913207575b
use node-gyp - closes #132
2012-06-18 22:43:30 -05:00
Alexander Sulfrian
6b032c466b
added test-binary target
...
integration tests could now be started in binary mode
some tests are executed in text mode anyway, they are currently not
compatible with binary mode or prepared statements at all
(f.e. multiple statements in one query)
2011-11-22 05:01:00 +01:00
brianc
06585d6e2c
require 'util' instead of 'sys'
2011-10-10 19:40:52 -05:00
brianc
afe4382c63
change assert.length to assert.lengthIs
2011-10-10 19:21:06 -05:00
brianc
2835f25e3f
make booo's tests pass for the native client
2011-10-03 03:26:50 -05:00
booo
38f4b04140
error-handling-test: implemented some tests for the Client.prototype.connect with callback ( #52 )
2011-10-03 03:26:50 -05:00
brianc
f395ee646f
fix failing error handling tests
2011-07-10 13:34:25 -05:00
brianc
7fb6c430df
failing test (currently ignored) for pure js connection error handling
2011-06-02 07:28:05 -05:00
brianc
94f670590f
support for connecting via hostname with native bindings (using node async dns lookup instead of sync libpq dns)
2011-05-05 19:13:43 -05:00
brianc
3399352383
errors from libpq come back with appropriate data
2011-03-04 22:28:40 +00:00
brianc
d38ea0131f
passing more tests
2011-03-03 18:29:00 +00:00
Brian Carlson
6585f85d03
query object now emits query related errors, client object no longer
...
emits query related errors
2010-11-14 16:50:38 -06:00
brianc
d2079478da
change name of assert.raises to assert.emits
2010-10-31 14:43:10 -05:00
brianc
b5d02a995a
basic test for client error handling
2010-10-26 08:51:12 -05:00