node/test/sequential
Anatoli Papirovski 47a984ada0
timers: prevent event loop blocking
When an interval takes as long or longer to run as its timeout setting
and the roundtrip from rearm() to its deferal takes exactly 1ms, that
interval can then block the event loop. This is an edge case of another
recently fixed bug (which in itself was an edge case).

PR-URL: https://github.com/nodejs/node/pull/18486
Refs: https://github.com/nodejs/node/pull/15072
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2018-02-04 11:04:12 -05:00
..
sequential.status test: mark test-inspector-stop-profile-after-done flaky 2018-02-01 09:40:12 -08:00
test-async-wrap-getasyncid.js test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08:00
test-benchmark-buffer.js benchmark: improve buffer.readInt(B|L)E benchmarks 2018-01-05 12:40:07 +01:00
test-benchmark-child-process.js
test-benchmark-http.js benchmark: implement duration in http test double 2018-01-29 17:46:14 +08:00
test-benchmark-net.js
test-benchmark-tls.js test: add test for tls benchmarks 2018-02-04 08:14:44 -05:00
test-buffer-creation-regression.js
test-child-process-emfile.js
test-child-process-execsync.js test: verify the shell option works properly on execFile 2018-02-04 16:38:34 +01:00
test-child-process-fork-getconnections.js
test-child-process-pass-fd.js
test-cluster-inspect-brk.js
test-crypto-timing-safe-equal.js
test-debug-prompt.js
test-debugger-debug-brk.js
test-debugger-repeat-last.js
test-deprecation-flags.js
test-dgram-bind-shared-ports.js
test-dgram-implicit-bind-failure.js
test-dgram-pingpong.js
test-fs-readfile-tostring-fail.js test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08:00
test-fs-watch.js test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08:00
test-http-keep-alive-large-write.js
test-http-keepalive-maxsockets.js
test-http-regr-gh-2928.js
test-http-server-consumed-timeout.js test: remove undefined function 2017-12-26 10:26:07 +08:00
test-http-server-keep-alive-timeout-slow-client-headers.js
test-http-server-keep-alive-timeout-slow-server.js
test-http2-max-session-memory.js http2: implement maxSessionMemory 2018-01-05 12:35:33 -08:00
test-http2-ping-flood.js http2: verify flood error and unsolicited frames 2018-01-08 13:10:45 -08:00
test-http2-session-timeout.js
test-http2-settings-flood.js http2: verify flood error and unsolicited frames 2018-01-08 13:10:45 -08:00
test-http2-timeout-large-write-file.js test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08:00
test-http2-timeout-large-write.js
test-https-keep-alive-large-write.js
test-https-server-keep-alive-timeout.js
test-init.js
test-inspector-async-call-stack-abort.js
test-inspector-async-call-stack.js
test-inspector-async-hook-setup-at-inspect-brk.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-async-hook-setup-at-signal.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-async-stack-traces-promise-then.js test: fix inspector test after V8 upgrade 2018-01-24 15:03:03 -08:00
test-inspector-async-stack-traces-set-interval.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-bindings.js
test-inspector-break-e.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-break-when-eval.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-contexts.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00
test-inspector-debug-brk-flag.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-debug-end.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-enabled.js
test-inspector-exception.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-invalid-args.js
test-inspector-ip-detection.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-module.js
test-inspector-not-blocked-on-idle.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-open.js
test-inspector-overwrite-config.js
test-inspector-port-cluster.js
test-inspector-port-zero-cluster.js
test-inspector-port-zero.js assert: stricter ifError 2018-01-24 13:16:09 +01:00
test-inspector-scriptparsed-context.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-stop-profile-after-done.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-inspector-stops-no-file.js
test-inspector.js inspector: --inspect-brk for es modules 2018-01-22 18:39:21 +02:00
test-module-loading.js test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08:00
test-net-GH-5504.js
test-net-better-error-messages-port.js
test-net-connect-local-error.js
test-net-listen-shared-ports.js
test-net-localport.js
test-net-reconnect-error.js
test-net-server-address.js
test-net-server-bind.js
test-next-tick-error-spin.js
test-pipe.js
test-process-warnings.js
test-readline-interface.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00
test-regress-GH-784.js
test-regress-GH-877.js
test-regress-GH-1697.js
test-regress-GH-1726.js
test-regress-GH-4015.js
test-regress-GH-4027.js test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08:00
test-repl-timeout-throw.js
test-require-cache-without-stat.js test: improve to use template string 2018-01-17 08:50:02 +08:00
test-stream-writable-clear-buffer.js
test-stream2-fs.js
test-stream2-stderr-sync.js test: improve to use template string 2018-01-17 08:50:02 +08:00
test-timers-block-eventloop.js
test-timers-blocking-callback.js
test-timers-set-interval-excludes-callback-duration.js timers: prevent event loop blocking 2018-02-04 11:04:12 -05:00
test-tls-connect.js
test-tls-lookup.js
test-util-debug.js
test-vm-timeout-rethrow.js
testcfg.py