Skip to content

Commit 10f8743

Browse files
committed
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: nodejs#7827 (comment)
1 parent e22ffef commit 10f8743

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)