1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

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.
This commit is contained in:
Bartek Iwańczuk 2023-08-04 10:05:15 +02:00 committed by GitHub
parent 433ecc9047
commit 53ab6c004a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);