mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 06:15:44 -05:00
736b91edd0
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
45 lines
2 KiB
Text
45 lines
2 KiB
Text
Check [WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts
|
|
running 2 tests from [WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts
|
|
test 1 ... FAILED ([WILDCARD])
|
|
test 2 ... FAILED ([WILDCARD])
|
|
|
|
ERRORS
|
|
|
|
test 1 => [WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:[WILDCARD]
|
|
error: Leaks detected:
|
|
- A timer was started in this test, but never completed. This is often caused by not calling `clearTimeout`. The operation was started here:
|
|
at [WILDCARD]
|
|
at setTimeout ([WILDCARD])
|
|
at test ([WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:[WILDCARD])
|
|
at [WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:8:27
|
|
at [WILDCARD]
|
|
- A timer was started in this test, but never completed. This is often caused by not calling `clearTimeout`. The operation was started here:
|
|
at [WILDCARD]
|
|
at setTimeout ([WILDCARD])
|
|
at test ([WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:[WILDCARD])
|
|
at [WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:8:27
|
|
at [WILDCARD]
|
|
|
|
test 2 => [WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:[WILDCARD]
|
|
error: Leaks detected:
|
|
- A timer was started in this test, but never completed. This is often caused by not calling `clearTimeout`. The operation was started here:
|
|
at [WILDCARD]
|
|
at setTimeout ([WILDCARD])
|
|
at test ([WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:[WILDCARD])
|
|
at [WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:10:27
|
|
at [WILDCARD]
|
|
- A timer was started in this test, but never completed. This is often caused by not calling `clearTimeout`. The operation was started here:
|
|
at [WILDCARD]
|
|
at setTimeout ([WILDCARD])
|
|
at test ([WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:[WILDCARD])
|
|
at [WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:10:27
|
|
at [WILDCARD]
|
|
|
|
FAILURES
|
|
|
|
test 1 => [WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:[WILDCARD]
|
|
test 2 => [WILDCARD]/ops_sanitizer_multiple_timeout_tests.ts:[WILDCARD]
|
|
|
|
FAILED | 0 passed | 2 failed ([WILDCARD])
|
|
|
|
error: Test failed
|