denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
93.06k stars 5.14k forks source link

rejection_handled_web_process is flaky #23712

Closed dsherret closed 4 days ago

dsherret commented 1 week ago
---- node_unit_tests::rejection_handled_web_process stdout ----
command D:\a\deno\deno\target\debug\deno.exe run -A --quiet node/rejection_handled_web_process.ts
command cwd D:\a\deno\deno\tests\testdata
output path D:\a\deno\deno\tests\testdata\node/rejection_handled_web_process.ts.out
thread 'node_unit_tests::rejection_handled_web_process' panicked at tests\integration\node_unit_tests.rs:208:1:
assertion failed: `(left == right)`

Diff < left / right > :
 Hello world!
 globalThis.addEventListener("unhandledrejection");
 Added catch handler to the promise
<Success
 Web rejectionhandled
 Node rejectionHandled
>Success

https://github.com/denoland/deno/actions/runs/8969917525/job/24632289252