Skip to content

Commit ccfa6bf

Browse files
Trottcjihrig
authored andcommitted
test: speed up test-net-reconnect-error
The test takes 50 seconds on some of the project's Windows CI infrastructure. Reducing the test repetitions from 50 to 20 trims that to about 20 seconds. Tests will timeout at 60 seconds, so this helps keep the test reliable. (There was a timeout on CI today when testing an unrelated code change.) Refs: #7827 (comment) PR-URL: #7886 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: JungMinu - Minwoo Jung <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 376d73b commit ccfa6bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-net-reconnect-error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
var common = require('../common');
33
var net = require('net');
44
var assert = require('assert');
5-
var N = 50;
5+
var N = 20;
66
var client_error_count = 0;
77
var disconnect_count = 0;
88

0 commit comments

Comments
 (0)