From 67705555514d6f40fbb9a989c400f824f764e5f7 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 9 Aug 2012 00:01:38 +0200 Subject: [PATCH] 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. --- test/pummel/test-net-throttle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pummel/test-net-throttle.js b/test/pummel/test-net-throttle.js index 3bb7ea2c636..29fd184916f 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;