node/test/pummel
Ben Noordhuis 14a4245051 net: don't suppress ECONNRESET
Let ECONNRESET network errors bubble up so clients can detect them.

Commit c4454d2e suppressed and turned them into regular end-of-stream
events to fix the then-failing simple/test-regress-GH-1531 test. See
also issue #1571 for (scant) details.

It turns out that special handling is no longer necessary. Remove the
special casing and let the error bubble up naturally.

pummel/test-https-ci-reneg-attack and pummel/test-tls-ci-reneg-attack
are updated because they expected an EPIPE error code that is now an
ECONNRESET. Suppression of the ECONNRESET prevented the test from
detecting that the connection has been severed whereupon the next
write would fail with an EPIPE.

Fixes #1776.
2013-02-11 12:31:21 -08:00
..
pummel.status Split tests. 2010-02-25 11:41:11 -08:00
test-buffer-big.js buffer: throw from constructor if length > kMaxLength 2012-03-09 23:57:03 +01:00
test-child-process-spawn-loop.js test-child-process-spawn-loop: make it pass on Windows. 2012-06-13 22:12:30 +02:00
test-crypto-dh.js test: fix pummel/test-crypto-dh, pummel/test-dh-regr 2012-10-24 15:37:34 +02:00
test-debugger-debug-brk.js test: add --debug-brk regression test 2012-02-07 23:42:38 +01:00
test-dh-regr.js test: fix pummel/test-crypto-dh, pummel/test-dh-regr 2012-10-24 15:37:34 +02:00
test-dtrace-jsstack.js test: add tests for postmortem and DTrace support 2012-09-21 01:51:57 +02:00
test-exec.js test-exec: make it work on Windows 2012-06-12 23:30:54 +02:00
test-fs-largefile.js Move test-fs-largefile into pummel 2012-05-05 15:05:14 -07:00
test-fs-watch-file-slow.js test: add another fs.watchFile() test 2012-06-21 02:50:13 +02:00
test-fs-watch-file.js test: make test-fs-watch-file write to tmp dir 2012-07-09 15:48:43 +02:00
test-http-client-reconnect-bug.js test: replace .addListener() calls with .on() 2011-10-15 01:08:36 +02:00
test-http-upload-timeout.js test: 2 resume() calls needed to flush streams 2012-12-19 10:55:23 -08:00
test-https-ci-reneg-attack.js net: don't suppress ECONNRESET 2013-02-11 12:31:21 -08:00
test-https-large-response.js test: set rejectUnauthorized in tls/https tests 2012-09-15 00:19:30 +02:00
test-keep-alive.js Remove separation of libuv tests 2011-11-02 16:38:59 -07:00
test-net-connect-econnrefused.js test: fix pummel/test-net-connect-econnrefused 2012-08-09 01:02:48 +02:00
test-net-connect-memleak.js test: fix pummel test out-of-memory errors 2013-01-27 22:01:14 +01:00
test-net-many-clients.js test: replace .addListener() calls with .on() 2011-10-15 01:08:36 +02:00
test-net-pause.js test: replace .addListener() calls with .on() 2011-10-15 01:08:36 +02:00
test-net-pingpong-delay.js test: replace .addListener() calls with .on() 2011-10-15 01:08:36 +02:00
test-net-pingpong.js Remove separation of libuv tests 2011-11-02 16:38:59 -07:00
test-net-throttle.js test: raise pummel/test-net-throttle write req size 2012-08-14 23:11:28 +02:00
test-net-timeout.js test: replace .addListener() calls with .on() 2011-10-15 01:08:36 +02:00
test-net-timeout2.js test: use common.PORT in pummel/test-net-timeout2 2012-08-17 14:03:26 +02:00
test-net-write-callbacks.js test-pummel: Add call validation in net-write-callbacks 2012-12-19 10:55:23 -08:00
test-next-tick-loops-quick.js Remove separation of libuv tests 2011-11-02 16:38:59 -07:00
test-postmortem-findjsobjects.js test: add tests for postmortem and DTrace support 2012-09-21 01:51:57 +02:00
test-postmortem-jsstack.js test: add tests for postmortem and DTrace support 2012-09-21 01:51:57 +02:00
test-process-hrtime.js process: add `process.hrtime()` 2012-03-06 20:43:55 +01:00
test-process-uptime.js test: include common.js in all tests 2012-02-20 13:29:11 +01:00
test-regress-GH-814.js test: add missing copyright headers 2011-12-06 22:02:26 +01:00
test-regress-GH-814_2.js test: add missing copyright headers 2011-12-06 22:02:26 +01:00
test-regress-GH-892.js Remove separation of libuv tests 2011-11-02 16:38:59 -07:00
test-timer-wrap.js test: add missing copyright headers 2011-12-06 22:02:26 +01:00
test-timer-wrap2.js test: add missing copyright headers 2011-12-06 22:02:26 +01:00
test-timers.js test: replace .addListener() calls with .on() 2011-10-15 01:08:36 +02:00
test-tls-ci-reneg-attack.js net: don't suppress ECONNRESET 2013-02-11 12:31:21 -08:00
test-tls-connect-memleak.js test: fix pummel test out-of-memory errors 2013-01-27 22:01:14 +01:00
test-tls-throttle.js test: set rejectUnauthorized in tls/https tests 2012-09-15 00:19:30 +02:00
test-vm-memleak.js Fixed a lot of jslint errors. 2011-10-05 18:51:06 -07:00
test-watch-file.js fs: make fs.watchFile() work on windows 2012-06-21 03:05:18 +02:00
testcfg.py Make the pummel test runner not crash on windows when a directory is locked 2011-11-25 10:27:30 +01:00