test: fix logInTimeout is not function

PR-URL: https://github.com/nodejs/node/pull/46348
Refs: https://github.com/nodejs/node/pull/44390
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
theanarkh
2023-01-29 01:10:51 +08:00
committed by GitHub
parent f69e84c75f
commit 4076418540

View File

@@ -8,13 +8,13 @@ const cp = require('child_process');
const {
cleanupStaleProcess,
logInTimeout,
logAfterTime,
kExpiringChildRunTime,
kExpiringParentTimer,
} = require('../common/child_process');
if (process.argv[2] === 'child') {
logInTimeout(kExpiringChildRunTime);
logAfterTime(kExpiringChildRunTime);
return;
}