mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 16:07:39 +00:00
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:
parent
cee626d0f5
commit
5b8b924995
@ -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, () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user