test: fix typographical error

"Timeouted" to "Timed out"

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Rich Trott 2022-02-15 04:46:47 -08:00 committed by GitHub
parent cee626d0f5
commit 5b8b924995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 });

View File

@ -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, () => {