From 53ab6c004ab25020654d3a17bd68472fc5322d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 4 Aug 2023 10:05:15 +0200 Subject: [PATCH] fix(test): use only a single timeout for op sanitizers (#20042) Chipping away at making tests faster. Appears we don't need double timeout before sanitizing ops. This should cut baseline cost of running a test by half. --- cli/js/40_testing.js | 1 - 1 file changed, 1 deletion(-) diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js index d119552e4a..90a725fcae 100644 --- a/cli/js/40_testing.js +++ b/cli/js/40_testing.js @@ -152,7 +152,6 @@ function assertOps(fn) { // cleared can actually be removed from resource table, otherwise // false positives may occur (https://github.com/denoland/deno/issues/4591) await opSanitizerDelay(); - await opSanitizerDelay(); } const post = core.metrics(); const postTraces = new Map(core.opCallTraces);