diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-03-01 11:15:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 11:15:18 -0700 |
commit | 736b91edd002ae34082c473b37249f9256a6ba32 (patch) | |
tree | d08c1dfde5777fef622750b166bcf4dc947d22ba /tests/integration/test_tests.rs | |
parent | 7ac040833025bf234dec485ddaa6c459b25d2196 (diff) |
perf(cli): use new deno_core timers (#22569)
Improves #19100
Fixes #20356
Replaces #20428
Changes made in deno_core to support this:
- [x] Errors must be handled in setTimeout callbacks
- [x] Microtask ordering is not-quite-right
- [x] Timer cancellation must be checked right before dispatch
- [x] Timer sanitizer
- [x] Move high-res timer to deno_core
- [x] Timers need opcall tracing
Diffstat (limited to 'tests/integration/test_tests.rs')
-rw-r--r-- | tests/integration/test_tests.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/integration/test_tests.rs b/tests/integration/test_tests.rs index cf02872e4..cd85fd102 100644 --- a/tests/integration/test_tests.rs +++ b/tests/integration/test_tests.rs @@ -265,6 +265,12 @@ itest!(resource_sanitizer { output: "test/sanitizer/resource_sanitizer.out", }); +itest!(ops_sanitizer_tcp { + args: "test --allow-net --trace-leaks test/sanitizer/ops_sanitizer_tcp.ts", + exit_code: 1, + output: "test/sanitizer/ops_sanitizer_tcp.out", +}); + itest!(exit_sanitizer { args: "test test/sanitizer/exit_sanitizer.ts", output: "test/sanitizer/exit_sanitizer.out", |