mirror of https://github.com/nodejs/node.git
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
parent
89a5b9040e
commit
d20f018dcf
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue