Skip to content

Commit d20f018

Browse files
test: loosen condition to detect infinite loop
PR-URL: #1857 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent 89a5b90 commit d20f018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-dgram-send-callback-recursive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const chunk = 'abc';
88
var recursiveCount = 0;
99
var received = 0;
1010
const limit = 10;
11-
const recursiveLimit = limit + 1;
11+
const recursiveLimit = 100;
1212

1313
function onsend() {
1414
if (recursiveCount > recursiveLimit) {

0 commit comments

Comments
 (0)