I was trying to run all tests under a folder–and the folder contains multiple sub-folders–when I received this error:
(node:35624) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error: Script execution timed out after 30000ms
at Script.runInContext (node:vm:149:12)
at Object.runInContext (node:vm:301:6)
at emitter._dispatch (C:\Users\u\AppData\Roaming\npm\node_modules\apidog-cli\bin\cli.js:3:8720018)
at e.exports.dispatch (C:\Users\u\AppData\Roaming\npm\node_modules\apidog-cli\bin\cli.js:3:317938)
at p (C:\Users\u\AppData\Roaming\npm\node_modules\apidog-cli\bin\cli.js:3:10270786)
at e.exports.execute (C:\Users\u\AppData\Roaming\npm\node_modules\apidog-cli\bin\cli.js:3:10271418)
at r.<anonymous> (C:\Users\u\AppData\Roaming\npm\node_modules\apidog-cli\bin\cli.js:3:16618990)
at C:\Users\u\AppData\Roaming\npm\node_modules\apidog-cli\node_modules\async\dist\async.js:247:13
at replenish (C:\Users\u\AppData\Roaming\npm\node_modules\apidog-cli\node_modules\async\dist\async.js:447:21)
at iterateeCallback (C:\Users\u\AppData\Roaming\npm\node_modules\apidog-cli\node_modules\async\dist\async.js:431:21) {
code: 'ERR_SCRIPT_EXECUTION_TIMEOUT'
}
error: Script execution timed out after 30000ms
I used the following command to start the test run:
apidog run --access-token [ACCESS_TOKEN_REDACTED] -f 1086330 -r html --out-json-failures-separated out.json
I realize that this isn’t a lot to go on–I checked the logs and I didn’t see anything (although I am happy to share them). What other information could I get that would help to troubleshoot this? (It happened twice in a row.)