node/test/sequential
Joyee Cheung bb4dff783d
test: raise sleep times in child process tests
sequential/test-child-process-execsync and
parallel/test-child-process-spawnsync-timeout are both flaky
on azure Windows machines, where it may take longer for Node.js
to launch and receive output from child processes. These tests
work by spawning a child processes that is supposed to sleep
for a long time, but the option is configured so that Node.js
would terminate them early when a shorter timeout is reached.
Then the tests assert that the time taken for the whole thing
is shorter than the specified sleep time (meaning the process
don't actually get to sleep for that long). To make the tests
less brittle on azure Windows, this patch raises the sleep
times in those tests on Windows platform, so that the overhead
can be taken into account there.

PR-URL: https://github.com/nodejs/node/pull/44375
Refs: https://github.com/nodejs/build/issues/3014
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
2022-08-25 07:56:40 +00:00
..
sequential.status test: remove test-gc-http-client-timeout from flaky list 2022-07-26 23:38:07 +01:00
test-async-wrap-getasyncid.js quic: remove quic 2021-01-30 07:49:28 -08:00
test-buffer-creation-regression.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
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: only skip slow tests on Raspberry Pi devices 2022-04-12 14:19:36 -04:00
test-cli-syntax-bad.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-cli-syntax-file-not-found.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-cli-syntax-good.js lib: fix checking syntax of esm module 2021-12-19 23:33:34 +00:00
test-cli-syntax-require.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-cluster-inspect-brk.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cluster-net-listen-ipv6only-none.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cluster-net-listen-ipv6only-rr.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cluster-send-handle-large-payload.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cpu-prof-default.js
test-cpu-prof-dir-absolute.js
test-cpu-prof-dir-and-name.js
test-cpu-prof-dir-relative.js
test-cpu-prof-dir-worker.js
test-cpu-prof-drained.js
test-cpu-prof-exit.js
test-cpu-prof-invalid-options.js
test-cpu-prof-kill.js
test-cpu-prof-name.js
test-cpu-prof-worker-argv.js
test-crypto-timing-safe-equal.js doc,test: clarify timingSafeEqual semantics 2022-06-21 12:43:09 +01:00
test-debug-prompt.js
test-debugger-auto-resume.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-backtrace.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-break.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-breakpoint-exists.js test: add test-debugger-breakpoint-exists 2021-08-01 14:24:36 +00:00
test-debugger-clear-breakpoints.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-custom-port.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-debug-brk.js
test-debugger-exceptions.js test: remove error allowance in debugger test 2022-01-25 01:38:05 +00:00
test-debugger-exec-scope.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-exec.js debugger: add debugger alias for exec(expr) 2022-02-17 19:23:20 +00:00
test-debugger-heap-profiler.js test: fix test-debugger-heap-profiler for workers 2021-08-09 10:11:56 +00:00
test-debugger-help.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-invalid-args.js test: move debugger test case to parallel 2021-07-09 17:04:07 -07:00
test-debugger-launch.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-list.js debugger: throw a more useful error when the frame is missing 2022-05-22 15:09:14 +02:00
test-debugger-low-level.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-object-type-remote-object.js debugger: fix inconsistent inspector output of exec new Map() 2022-05-08 20:51:38 +01:00
test-debugger-pid.js tools,lib,test: enable ESLint no-regex-spaces rule 2022-01-13 17:12:05 -08:00
test-debugger-preserve-breaks.js test: remove workaround code in debugger test 2021-07-05 21:17:55 -07:00
test-debugger-profile-command.js test: add test for profile command of node inspect 2022-07-09 21:14:27 +01:00
test-debugger-profile.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-random-port-with-inspect-port.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-random-port.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-repeat-last.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-debugger-restart-message.js debugger: indicate server is ending 2021-07-12 06:29:01 -07:00
test-debugger-run-after-quit-restart.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-sb-before-load.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-scripts.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-use-strict.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-watchers.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-deprecation-flags.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-dgram-bind-shared-ports.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-dgram-implicit-bind-failure.js
test-dgram-pingpong.js
test-diagnostic-dir-cpu-prof.js
test-diagnostic-dir-heap-prof.js test: avoid deep comparisons with literals 2021-11-02 10:11:49 +00:00
test-fs-stat-sync-overflow.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-fs-watch.js
test-gc-http-client-onerror.js test: deflake gc-http-client tests by restricting number of requests 2022-08-07 12:44:25 +00:00
test-gc-http-client-timeout.js test: deflake gc-http-client tests by restricting number of requests 2022-08-07 12:44:25 +00:00
test-gc-http-client.js test: deflake gc-http-client tests by restricting number of requests 2022-08-07 12:44:25 +00:00
test-heap-prof.js test: avoid deep comparisons with literals 2021-11-02 10:11:49 +00:00
test-heapdump-flag.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-heapdump.js v8: make v8.writeHeapSnapshot() error codes consistent 2022-04-05 14:55:51 +01:00
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-http2-timeout-large-write.js
test-http-econnrefused.js http: use Keep-Alive by default in global agents 2022-06-29 12:48:52 +02: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-http-server-keep-alive-timeout-slow-client-headers.js
test-http-server-keep-alive-timeout-slow-server.js
test-https-connect-localport.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
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 test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-async-hook-setup-at-signal.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-async-stack-traces-promise-then.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-async-stack-traces-set-interval.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-break-e.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-break-when-eval.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-console.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-contexts.js
test-inspector-debug-brk-flag.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-debug-end.js
test-inspector-enabled.js
test-inspector-exception.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-has-inspector-false.js
test-inspector-invalid-args.js
test-inspector-ip-detection.js
test-inspector-not-blocked-on-idle.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-open.js test: use mustSucceed instead of mustCall with assert.ifError 2022-08-12 10:17:06 +02:00
test-inspector-overwrite-config.js
test-inspector-port-cluster.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-port-zero.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-inspector-resource-name-to-url.js
test-inspector-runtime-evaluate-with-timeout.js
test-inspector-scriptparsed-context.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-stop-profile-after-done.js
test-inspector-stops-no-file.js
test-inspector-stress-http.js
test-inspector.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-module-loading.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-net-better-error-messages-port.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
test-net-connect-econnrefused.js process: add getActiveResourcesInfo() 2021-12-14 14:09:08 +00:00
test-net-connect-handle-econnrefused.js net: remove redundant connecting assignment 2022-07-09 17:10:16 +01:00
test-net-connect-local-error.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
test-net-GH-5504.js
test-net-listen-shared-ports.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-net-localport.js
test-net-reconnect-error.js
test-net-response-size.js test: enable no-empty ESLint rule 2022-02-05 12:58:32 +00:00
test-net-server-address.js dns: accept 'IPv4' and 'IPv6' for family 2022-06-15 18:02:01 -04:00
test-net-server-bind.js dns: accept 'IPv4' and 'IPv6' for family 2022-06-15 18:02:01 -04:00
test-next-tick-error-spin.js
test-perf-hooks.js perf_hooks: complete overhaul of the implementation 2021-02-22 08:46:11 -08:00
test-performance-eventloopdelay.js perf_hooks: fix loop delay resolution validation 2021-04-11 23:15:47 +02:00
test-pipe.js
test-process-title.js
test-process-warnings.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-repl-timeout-throw.js
test-require-cache-without-stat.js
test-resolution-inspect-brk.js
test-stream2-fs.js
test-stream2-stderr-sync.js test,doc,lib: adjust object literal newlines for lint rule 2021-01-26 16:49:18 -08:00
test-timers-block-eventloop.js
test-timers-set-interval-excludes-callback-duration.js
test-tls-connect.js
test-tls-lookup.js
test-tls-psk-client.js test: fix typographical error 2022-02-15 12:46:47 +00:00
test-tls-securepair-client.js tools,benchmark,lib,test: enable no-case-declarations lint rule 2022-01-05 07:42:19 -08:00
test-tls-session-timeout.js
test-util-debug.js
test-vm-break-on-sigint.js test: move test-vm-break-on-sigint to sequential 2022-08-07 12:26:59 +00:00
test-vm-timeout-escape-promise-module-2.js test: fix flaky test-vm-timeout-escape-promise-module-2 2021-03-22 09:47:05 -07:00
test-vm-timeout-rethrow.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-worker-eventlooputil.js
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-http2-stream-terminate.js test: move tests with many workers to sequential 2022-08-07 12:44:33 +00:00
test-worker-prof.js test: fix flaky test-worker-prof 2021-02-20 10:40:49 -08:00
testcfg.py