Skip to content
Permalink
Browse files
test: fix typographical error
"Timeouted" to "Timed out"

PR-URL: #41983
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
Trott authored and danielleadams committed Apr 24, 2022
1 parent 33e4a32 commit 95eb03c29888fd9795c3d669013f2ed712204251
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/parallel/test-http-agent-timeout.js
  2. +1 −1 test/sequential/test-tls-psk-client.js
@@ -34,7 +34,7 @@ const http = require('http');
}

{
// Ensure that timeouted sockets are not reused.
// Ensure that timed-out sockets are not reused.

const agent = new http.Agent({ keepAlive: true, timeout: 50 });

@@ -33,7 +33,7 @@ const cleanUp = (err) => {
process.exitCode = err ? 1 : 0;
};

const timeout = setTimeout(() => cleanUp('Timeouted'), 5000);
const timeout = setTimeout(() => cleanUp('Timed out'), 5000);

function waitForPort(port, cb) {
const socket = net.connect(common.PORT, () => {

0 comments on commit 95eb03c

Please sign in to comment.