diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-08-09 00:01:38 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-08-14 23:11:28 +0200 |
commit | bcb5bdebe7731739daa720c5bcc2728314db0534 (patch) | |
tree | 327cf31a834cbc7134bae10778cd94877da260da | |
parent | 786e1e87129611523cd7cbf255a479fe36dcba66 (diff) | |
download | node-bcb5bdebe7731739daa720c5bcc2728314db0534.tar.gz |
test: raise pummel/test-net-throttle write req size
pummel/test-net-throttle assumes that a couple of big write requests result in
some of them getting queued because the kernel's send buffer fills up.
Said assumption breaks on systems with large send buffers. Raise the size of
the write request to ameliorate the issue.
This is a back-port of commit 6770555 from the master branch.
-rw-r--r-- | test/pummel/test-net-throttle.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pummel/test-net-throttle.js b/test/pummel/test-net-throttle.js index 3bb7ea2c6..29fd18491 100644 --- a/test/pummel/test-net-throttle.js +++ b/test/pummel/test-net-throttle.js @@ -26,7 +26,7 @@ var common = require('../common'); var assert = require('assert'); var net = require('net'); -var N = 160 * 1024; +var N = 1024 * 1024; var part_N = N / 3; var chars_recved = 0; var npauses = 0; |