mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
a3f982c1d5
As we add tracing to more types of runtime activity, `--trace-ops` is less useful of a name. `--trace-leaks` better reflects that this feature traces both ops and timers, and will eventually trace resource opening as well. This keeps `--trace-ops` as an alias for `--trace-leaks`, but prints a warning to the console suggesting migration to `--trace-leaks`. One test continues to use `--trace-ops` to test the deprecation warning. --------- Signed-off-by: Matt Mastracci <matthew@mastracci.com>
24 lines
851 B
Text
24 lines
851 B
Text
⚠️ The `--trace-ops` flag is deprecated and will be removed in Deno 2.0.
|
|
Use the `--trace-leaks` flag instead.
|
|
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
|