mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -05:00
67a4231bb6
The format of the sanitizers will change a little bit: - If multiple async ops leak and traces are on, we repeat the async op header once per stack trace. - All leaks are aggregated under a "Leaks detected:" banner as the new timers are eventually going to be added, and these are neither ops nor resources. - `1 async op` is now `An async op` - If ops and resources leak, we show both (rather than op leaks masking resources) Follow-on to https://github.com/denoland/deno/pull/22226
22 lines
736 B
Text
22 lines
736 B
Text
Check [WILDCARD]/ops_sanitizer_unstable.ts
|
|
running 2 tests from [WILDCARD]/ops_sanitizer_unstable.ts
|
|
no-op ... ok ([WILDCARD])
|
|
leak interval ... FAILED ([WILDCARD])
|
|
|
|
ERRORS
|
|
|
|
leak interval => [WILDCARD]/ops_sanitizer_unstable.ts:[WILDCARD]
|
|
error: Leaks detected:
|
|
- An async operation to sleep for a duration was started in this test, but never completed. This is often caused by not cancelling a `setTimeout` or `setInterval` call. The operation was started here:
|
|
at [WILDCARD]
|
|
at setInterval ([WILDCARD])
|
|
at fn ([WILDCARD]/ops_sanitizer_unstable.ts:[WILDCARD])
|
|
at [WILDCARD]
|
|
|
|
FAILURES
|
|
|
|
leak interval => [WILDCARD]/ops_sanitizer_unstable.ts:[WILDCARD]
|
|
|
|
FAILED | 1 passed | 1 failed ([WILDCARD])
|
|
|
|
error: Test failed
|