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 authored and Danielle Adams committed 2022-04-23 22:26:02 -04:00
1 parent 33e4a32f9e
commit 95eb03c298
2 files changed
+2 -2

No files matched your search

+1 -1
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 });
+1 -1
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, () => {