Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4dbc787

Browse filesBrowse files
Trottaddaleax
authored andcommitted
test: add debugging for test-https-foafssl.js
The test is timing out once in a very long while on Windows CI. It is unclear where the test gets stuck, so add more debugging statements to try to locate it. Refs: #24397 PR-URL: #34603 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 3dda55a commit 4dbc787
Copy full SHA for 4dbc787

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-https-foafssl.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-https-foafssl.js
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ const server = https.createServer(options, common.mustCall(function(req, res) {
5757
assert.strictEqual(cert.modulus, modulus);
5858
res.writeHead(200, { 'content-type': 'text/plain' });
5959
res.end(body);
60+
console.log('sent response');
6061
}));
6162

6263
server.listen(0, function() {
@@ -69,10 +70,12 @@ server.listen(0, function() {
6970
const client = spawn(common.opensslCli, args);
7071

7172
client.stdout.on('data', function(data) {
73+
console.log('response received');
7274
const message = data.toString();
7375
const contents = message.split(CRLF + CRLF).pop();
7476
assert.strictEqual(body, contents);
7577
server.close();
78+
console.log('server closed');
7679
});
7780

7881
client.stdin.write('GET /\n\n');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.