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: #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]>
  • Loading branch information
Trott authored and MylesBorins committed Oct 26, 2016
1 parent 52cba41 commit 69f4edd
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 69f4edd

Please sign in to comment.