test-net-write-slow: increase the socket timeout period
authorBert Belder <bertbelder@gmail.com>
Mon, 11 Jun 2012 23:40:04 +0000 (01:40 +0200)
committerBert Belder <bertbelder@gmail.com>
Mon, 11 Jun 2012 23:43:45 +0000 (01:43 +0200)
commit00ba1cbce1180bafbe4529c5783d31b9d5823a13
tree3214c94d59f9a4c5cae0c0d017d54fa27502bfdc
parent6ce013dd4bbe660c12ce11c338b788163305cd2b
test-net-write-slow: increase the socket timeout period

In Windows the callbacks arrive in slightly different order. A bunch
of write operations complete immediately, and after that there is a
gap of a few hundred ms. This causes the timeout timer to fire, which
is not really warranted; the first few write operations just finished a
little quicker than expected.
test/simple/test-net-write-slow.js