summaryrefslogtreecommitdiff
path: root/ext/tls/lib.rs
diff options
context:
space:
mode:
authorAndreu Botella <abb@randomunok.com>2021-11-30 01:27:30 +0100
committerGitHub <noreply@github.com>2021-11-30 01:27:30 +0100
commit9a1066869457037d6ab24965da82e80e1e5c77a9 (patch)
treebbacdc757d03e5f854cc8e608e5698280193de37 /ext/tls/lib.rs
parent48c57001c852dcd99d6389e45c9c27a2b43f6257 (diff)
fix(test): Improve reliability of `deno test`'s op sanitizer with timers (#12934)
Although not easy to replicate in the wild, the `deno test` op sanitizer can fail when there are intervals that started before a test runs, since the op sanitizer can end up running in the time between the timer op for an interval's run resolves and the op for the next run starts. This change fixes that by adding a new macrotask callback that will run after the timer macrotask queue has drained. This ensures that there is a timer op if there are any timers which are unresolved by the time the op sanitizer runs.
Diffstat (limited to 'ext/tls/lib.rs')
0 files changed, 0 insertions, 0 deletions