Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
squash: decrement requestCount
  • Loading branch information
Trott committed Jul 1, 2016
commit 7a44a69a5657e55332d5298138268a9e7b6954ec
2 changes: 2 additions & 0 deletions test/parallel/test-tls-session-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ function doTest(testOptions, callback) {
// If SmartOS and connection refused, then retry. See
// https://github.com/nodejs/node/issues/2663.
if (common.isSunOS && err.includes('Connection refused')) {
// Reduce requestCount by one because we are re-trying.
--requestCount;
spawnClient();
return;
}
Expand Down