diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-08-27 21:22:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-27 22:22:23 +0200 |
commit | f826574873282b65aff936e0526b5510b80c53dc (patch) | |
tree | 2961dc341bf4c27e00b440a039b654c3e826656e /cli/tests/integration/bench_tests.rs | |
parent | 916ddcef6d55edbf2478cae507e49e55ef3a62ad (diff) |
test(bench): mark explicit timer test as flaky (#20304)
https://github.com/denoland/deno/actions/runs/5990043261/job/16246927846?pr=18642
The test is just `b.start(); b.end()` where the time measured between
must be less 10 μs during warmup. Can't improve it.
Also fixes doc mistake.
Diffstat (limited to 'cli/tests/integration/bench_tests.rs')
-rw-r--r-- | cli/tests/integration/bench_tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/integration/bench_tests.rs b/cli/tests/integration/bench_tests.rs index 214dfaa50..6e61cd7f2 100644 --- a/cli/tests/integration/bench_tests.rs +++ b/cli/tests/integration/bench_tests.rs @@ -187,7 +187,7 @@ itest!(bench_explicit_start_end { exit_code: 1, }); -itest!(bench_explicit_start_end_low_precision { +itest_flaky!(bench_explicit_start_end_low_precision { args: "bench --quiet -A bench/explicit_start_and_end_low_precision.ts", output: "bench/explicit_start_and_end_low_precision.out", }); |