Skip to content

Commit

Permalink
test: loosen condition to detect infinite loop
Browse files Browse the repository at this point in the history
PR-URL: #1857
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
  • Loading branch information
yosuke-furukawa committed Jun 2, 2015
1 parent 89a5b90 commit d20f018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-dgram-send-callback-recursive.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d20f018

Please sign in to comment.