mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05: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:
1 parent
33e4a32f9e
commit
95eb03c298
2 files changed
+2
-2
No files matched your search
@@ -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, () => {
|
||||
|
||||
Reference in new issue
Block a user