test: loosen condition to detect infinite loop

PR-URL: https://github.com/nodejs/io.js/pull/1857
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
pull/1857/merge
Yosuke Furukawa 2015-06-01 13:19:23 +09:00
parent 89a5b9040e
commit d20f018dcf
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ const chunk = 'abc';
var recursiveCount = 0;
var received = 0;
const limit = 10;
const recursiveLimit = limit + 1;
const recursiveLimit = 100;
function onsend() {
if (recursiveCount > recursiveLimit) {