mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
609d2b0ff2
In general, we assume that the tmpdir will provide sufficient space for most tests. Some tests, however, require hundreds of megabytes or even gigabytes of space, which often causes them to fail, especially on our macOS infrastructure. The most recent reliability report contains more than 20 related CI failures. This change adds a new function hasEnoughSpace() to the tmpdir module that uses statfsSync() to guess whether allocating a certain amount of space within the temporary directory will succeed. This change also updates the most frequently failing tests to use the new function such that the relevant parts of the tests are skipped if tmpdir has insufficient space. Refs: https://github.com/nodejs/reliability/issues/549 PR-URL: https://github.com/nodejs/node/pull/47767 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Richard Lau <rlau@redhat.com> |
||
---|---|---|
.. | ||
pummel.status | ||
test-child-process-spawn-loop.js | ||
test-crypto-dh-hash.js | ||
test-crypto-dh-keys.js | ||
test-crypto-timing-safe-equal-benchmarks.js | ||
test-dh-regr.js | ||
test-fs-largefile.js | ||
test-fs-readfile-tostring-fail.js | ||
test-fs-watch-file-slow.js | ||
test-fs-watch-file.js | ||
test-fs-watch-non-recursive.js | ||
test-fs-watch-system-limit.js | ||
test-hash-seed.js | ||
test-heapdump-dns.js | ||
test-heapdump-env.js | ||
test-heapdump-fs-promise.js | ||
test-heapdump-http2.js | ||
test-heapdump-inspector.js | ||
test-heapdump-tls.js | ||
test-heapdump-worker.js | ||
test-heapdump-zlib.js | ||
test-heapsnapshot-near-heap-limit-big.js | ||
test-heapsnapshot-near-heap-limit-bounded.js | ||
test-heapsnapshot-near-heap-limit-by-api.js | ||
test-heapsnapshot-near-heap-limit.js | ||
test-http-many-keep-alive-connections.js | ||
test-http-upload-timeout.js | ||
test-https-large-response.js | ||
test-https-no-reader.js | ||
test-keep-alive.js | ||
test-net-bytes-per-incoming-chunk-overhead.js | ||
test-net-many-clients.js | ||
test-net-pause.js | ||
test-net-pingpong-delay.js | ||
test-net-pingpong.js | ||
test-net-throttle.js | ||
test-net-timeout2.js | ||
test-net-timeout.js | ||
test-net-write-callbacks.js | ||
test-next-tick-infinite-calls.js | ||
test-policy-integrity-dep.js | ||
test-policy-integrity-parent-commonjs.js | ||
test-policy-integrity-parent-module.js | ||
test-policy-integrity-parent-no-package-json.js | ||
test-policy-integrity-worker-commonjs.js | ||
test-policy-integrity-worker-module.js | ||
test-policy-integrity-worker-no-package-json.js | ||
test-process-cpuUsage.js | ||
test-process-hrtime.js | ||
test-regress-GH-892.js | ||
test-stream-pipe-multi.js | ||
test-timers.js | ||
test-tls-server-large-request.js | ||
test-tls-throttle.js | ||
test-vm-memleak.js | ||
test-vm-race.js | ||
test-watch-file.js | ||
test-webcrypto-derivebits-pbkdf2.js | ||
test-worker-take-heapsnapshot.js | ||
testcfg.py |