From d20f018dcf79af204700199ef374481fc8453b2b Mon Sep 17 00:00:00 2001 From: Yosuke Furukawa Date: Mon, 1 Jun 2015 13:19:23 +0900 Subject: [PATCH] test: loosen condition to detect infinite loop PR-URL: https://github.com/nodejs/io.js/pull/1857 Reviewed-By: Roman Reiss Reviewed-By: Jeremiah Senkpiel --- test/parallel/test-dgram-send-callback-recursive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-dgram-send-callback-recursive.js b/test/parallel/test-dgram-send-callback-recursive.js index 046545deff6da3..bd2a8e7d918c3d 100644 --- a/test/parallel/test-dgram-send-callback-recursive.js +++ b/test/parallel/test-dgram-send-callback-recursive.js @@ -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) {