GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: running tls-server-verify clients in parallel · nodejs/node@b18604b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-tls-server-verify.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-tls-server-verify.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-server-verify.js
+15-1Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,21 @@ function runTest(testIndex) {
307307
if (tcase.debug) {
308308
console.error('TLS server running on port ' + common.PORT);
309309
} else {
310-
runNextClient(0);
310+
if (tcase.renegotiate) {
311+
runNextClient(0);
312+
} else {
313+
var clientsCompleted = 0;
314+
for (var i = 0; i < tcase.clients.length; i++) {
315+
runClient(tcase.clients[i], function() {
316+
clientsCompleted++;
317+
if (clientsCompleted === tcase.clients.length) {
318+
server.close();
319+
successfulTests++;
320+
runTest(testIndex + 1);
321+
}
322+
});
323+
}
324+
}
311325
}
312326
});
313327
}

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.