Skip to content

Commit

Permalink
test: speed up test-net-reconnect-error
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Trott committed Jul 27, 2016
1 parent e22ffef commit 10f8743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-net-reconnect-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var common = require('../common');
var net = require('net');
var assert = require('assert');
var N = 50;
var N = 20;
var client_error_count = 0;
var disconnect_count = 0;

Expand Down

0 comments on commit 10f8743

Please sign in to comment.