node/test/sequential
Joyee Cheung 4d0aeed4a6 test: deflake test-perf-hooks.js
Previously when checking the initial timing we did a lot of checks
after accessing and copying timing.duration and before we check
that timing.duration is roughly the same as performance.now(),
which can lead to flakes if the overhead of the checking is
big enough. Update the test to check timing.duration against
performance.now() as soon as possible when it's copied instead
of computed.
:#

PR-URL: https://github.com/nodejs/node/pull/49892
Refs: https://github.com/nodejs/reliability/issues/676
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Richard Lau <rlau@redhat.com>
2023-09-29 18:14:01 +02:00
..
sequential.status Revert "test: mark test-http-regr-gh-2928 as flaky" 2023-09-20 18:31:47 +00:00
test-async-wrap-getasyncid.js test: use fs.constants for fs.access constants 2023-09-20 07:14:37 +00:00
test-buffer-creation-regression.js
test-child-process-emfile.js
test-child-process-execsync.js test: raise sleep times in child process tests 2022-08-25 07:56:40 +00:00
test-child-process-exit.js
test-child-process-pass-fd.js
test-cli-syntax-bad.js
test-cli-syntax-file-not-found.js
test-cli-syntax-good.js
test-cli-syntax-require.js test: show more info on failure in test-cli-syntax-require.js 2023-09-12 17:02:51 +00:00
test-cluster-inspect-brk.js
test-cluster-net-listen-ipv6only-none.js
test-cluster-net-listen-ipv6only-rr.js
test-cluster-send-handle-large-payload.js
test-cpu-prof-default.js
test-cpu-prof-dir-absolute.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-cpu-prof-dir-and-name.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-cpu-prof-dir-relative.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-cpu-prof-dir-worker.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-cpu-prof-drained.js
test-cpu-prof-exit.js
test-cpu-prof-invalid-options.js src: fix c++ exception on bad command line arg 2023-01-22 10:39:16 +00:00
test-cpu-prof-kill.js
test-cpu-prof-name.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-cpu-prof-worker-argv.js
test-crypto-timing-safe-equal.js
test-debug-prompt.js
test-debugger-custom-port.js test: modify test-debugger-custom-port.js to use async-await 2022-09-27 19:35:41 +00:00
test-debugger-debug-brk.js
test-debugger-invalid-args.js lib,src: update exit codes as per todos 2023-02-26 17:03:06 +00:00
test-debugger-launch.mjs test: use --port=0 in debugger tests that do not have to work on 9229 2023-04-05 00:49:44 +02:00
test-debugger-pid.js test: convert test-debugger-pid to async/await 2022-11-01 05:45:47 +00:00
test-deprecation-flags.js
test-dgram-bind-shared-ports.js
test-dgram-implicit-bind-failure.js
test-dgram-pingpong.js
test-diagnostic-dir-cpu-prof.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-diagnostic-dir-heap-prof.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-fs-opendir-recursive.js fs: fix readdir and opendir recursive with unknown file types 2023-09-11 19:08:08 +00:00
test-fs-readdir-recursive.js fs: fix readdir and opendir recursive with unknown file types 2023-09-11 19:08:08 +00:00
test-fs-stat-sync-overflow.js test: use spawn and spawnPromisified instead of exec 2023-08-05 07:29:53 +00:00
test-fs-watch.js fs: add recursive watch to linux 2022-10-31 23:15:45 +00:00
test-gc-http-client-onerror.js test: use os.availableParallelism() 2023-01-11 20:07:56 +00:00
test-gc-http-client-timeout.js test: refactor test-gc-http-client-timeout 2023-06-06 15:42:42 +00:00
test-gc-http-client.js test: use os.availableParallelism() 2023-01-11 20:07:56 +00:00
test-get-heapsnapshot-options.js lib: add options to the heap snapshot APIs 2022-11-08 16:19:54 +01:00
test-heapdump-flag-custom-dir.js process: add custom dir support for heapsnapshot-signal 2023-09-05 15:13:01 -07:00
test-heapdump-flag.js
test-heapdump.js lib: add options to the heap snapshot APIs 2022-11-08 16:19:54 +01:00
test-http-econnrefused.js net: enable autoSelectFamily by default 2023-04-05 08:31:56 -07:00
test-http-keep-alive-large-write.js
test-http-keepalive-maxsockets.js
test-http-max-sockets.js
test-http-regr-gh-2928.js test: deflake test-http-regr-gh-2928 2023-09-18 20:16:24 +02:00
test-http-server-keep-alive-timeout-slow-client-headers.js
test-http-server-keep-alive-timeout-slow-server.js
test-http2-large-file.js
test-http2-max-session-memory.js
test-http2-ping-flood.js
test-http2-settings-flood.js
test-http2-timeout-large-write-file.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-http2-timeout-large-write.js
test-https-connect-localport.js
test-https-server-keep-alive-timeout.js
test-init.js
test-inspector-open-dispose.mjs test: stabilize the inspector-open-dispose test 2023-08-11 13:05:01 +00:00
test-inspector-port-cluster.js
test-module-loading.js module: harmonize error code between ESM and CJS 2023-07-04 09:52:56 +00:00
test-net-better-error-messages-port.js net: enable autoSelectFamily by default 2023-04-05 08:31:56 -07:00
test-net-connect-econnrefused.js net: enable autoSelectFamily by default 2023-04-05 08:31:56 -07:00
test-net-connect-handle-econnrefused.js
test-net-connect-local-error.js
test-net-GH-5504.js
test-net-listen-shared-ports.js
test-net-localport.js
test-net-reconnect-error.js net: enable autoSelectFamily by default 2023-04-05 08:31:56 -07:00
test-net-response-size.js
test-net-server-address.js
test-net-server-bind.js
test-next-tick-error-spin.js
test-perf-hooks.js test: deflake test-perf-hooks.js 2023-09-29 18:14:01 +02:00
test-performance-eventloopdelay.js lib: refactor to use min/max of validateNumber 2023-02-03 21:12:05 +00:00
test-pipe.js
test-process-title.js
test-process-warnings.js
test-repl-timeout-throw.js
test-require-cache-without-stat.js
test-resolution-inspect-brk.js
test-runner-run-inspect.mjs test_runner: support using --inspect with --test 2022-09-10 17:01:42 +00:00
test-single-executable-application-disable-experimental-sea-warning.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-single-executable-application-empty.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-single-executable-application-snapshot-and-code-cache.js test: use spawnSyncAndExitWithoutError in sea tests 2023-09-11 16:39:37 +00:00
test-single-executable-application-snapshot.js test: use spawnSyncAndExitWithoutError in sea tests 2023-09-11 16:39:37 +00:00
test-single-executable-application-use-code-cache.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-single-executable-application.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-stream2-fs.js
test-stream2-stderr-sync.js
test-timers-block-eventloop.js
test-timers-set-interval-excludes-callback-duration.js
test-tls-connect.js
test-tls-lookup.js test: remove unnecessary noop function args to mustCall() 2022-10-18 12:13:41 +00:00
test-tls-psk-client.js test: fallback to IPv4 if IPv6 is unavailable 2023-03-11 06:26:25 +00:00
test-tls-securepair-client.js test: fallback to IPv4 if IPv6 is unavailable 2023-03-11 06:26:25 +00:00
test-tls-session-timeout.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-util-debug.js
test-vm-break-on-sigint.js
test-vm-timeout-escape-promise-module-2.js
test-vm-timeout-rethrow.js
test-watch-mode-inspect.mjs test: fix flaky test-watch-mode-inspect 2023-04-04 16:53:32 -07:00
test-watch-mode.mjs test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-worker-eventlooputil.js perf_hooks: fix webperf idlharness 2022-10-04 00:55:58 +08:00
test-worker-fshandles-error-on-termination.js test: move tests with many workers to sequential 2022-08-07 12:44:33 +00:00
test-worker-fshandles-open-close-on-termination.js test: move tests with many workers to sequential 2022-08-07 12:44:33 +00:00
test-worker-heapsnapshot-options.js lib: add options to the heap snapshot APIs 2022-11-08 16:19:54 +01:00
test-worker-prof.js test: make test-worker-prof more robust 2023-09-04 21:53:59 +00:00
test-write-heapsnapshot-options.js lib: add options to the heap snapshot APIs 2022-11-08 16:19:54 +01:00
testcfg.py