summaryrefslogtreecommitdiff
path: root/tests/integration/test_tests.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-02-28 09:12:43 -0700
committerGitHub <noreply@github.com>2024-02-28 09:12:43 -0700
commita3f982c1d58a4c96377348aae203ab3f2c234729 (patch)
tree47a2968e50fa80c25b7fd4e8f9edb72f024f895d /tests/integration/test_tests.rs
parentc2c4e745a5db4f2e53aa70bf22b6c828fa1b4040 (diff)
chore(cli): rename `--trace-ops` to `--trace-leaks` (#22598)
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>
Diffstat (limited to 'tests/integration/test_tests.rs')
-rw-r--r--tests/integration/test_tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/test_tests.rs b/tests/integration/test_tests.rs
index f9b47fdbc..cf02872e4 100644
--- a/tests/integration/test_tests.rs
+++ b/tests/integration/test_tests.rs
@@ -231,7 +231,7 @@ itest!(ops_sanitizer_timeout_failure {
itest!(ops_sanitizer_multiple_timeout_tests {
args:
- "test --trace-ops test/sanitizer/ops_sanitizer_multiple_timeout_tests.ts",
+ "test --trace-leaks test/sanitizer/ops_sanitizer_multiple_timeout_tests.ts",
exit_code: 1,
output: "test/sanitizer/ops_sanitizer_multiple_timeout_tests.out",
});
@@ -243,13 +243,13 @@ itest!(ops_sanitizer_multiple_timeout_tests_no_trace {
});
itest!(sanitizer_trace_ops_catch_error {
- args: "test -A --trace-ops test/sanitizer/trace_ops_caught_error/main.ts",
+ args: "test -A --trace-leaks test/sanitizer/trace_ops_caught_error/main.ts",
exit_code: 0,
output: "test/sanitizer/trace_ops_caught_error/main.out",
});
itest!(ops_sanitizer_closed_inside_started_before {
- args: "test --trace-ops test/sanitizer/ops_sanitizer_closed_inside_started_before.ts",
+ args: "test --trace-leaks test/sanitizer/ops_sanitizer_closed_inside_started_before.ts",
exit_code: 1,
output: "test/sanitizer/ops_sanitizer_closed_inside_started_before.out",
});