node-core-utils
node-core-utils copied to clipboard
flaky auth tests in CI
Example: https://github.com/nodejs/node-core-utils/runs/1987341751?check_suite_focus=true
1) auth
asks for auth data if no ncurc is found:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)
2) auth
asks for auth data if ncurc is invalid json:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/node-core-utils/node-core-utils/test/unit/auth.test.js)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)
Still an issue: https://github.com/nodejs/node-core-utils/runs/2797236866
Fixed by https://github.com/nodejs/node-core-utils/commit/e798b7700f97f371fa798b2a9fe8f0c24ea8548b I believe.