commit | 06a0c2b1e33c4f9d9040aec1a324a9b695dc3d34 | [log] [tgz] |
---|---|---|
author | Scott Lee <ddoman@chromium.org> | Thu Oct 08 21:52:11 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 08 21:52:11 2020 |
tree | a27ad72f58520dc9aec1e16968eca66047bba1d4 | |
parent | 12a75338de3b4d4af67963ef4ffece4c06889441 [diff] |
[resultdb] coerce negative duration values to 0 In https://crrev.com/c/2458788, coerce_negative_duration was added to api.resultdb.wrap() to coerce negative duration values to 0. This CL enables the option to all chromium tests such that negative durations won't cause test steps failures. R=dpranke@chromium.org,chanli@chromium.org CC=nodir@chromium.org,robertma@chromium.org Bug: 1135892 Change-Id: I63795dd6ae922ccb93660cc0de279891b38e3d3b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2459640 Reviewed-by: Nodir Turakulov <nodir@chromium.org> Commit-Queue: Scott Lee <ddoman@chromium.org>
If you're here to make a change to ‘recipes’ (the code located in scripts/slave/recipes*
), please take a look at the README for more information pertaining to recipes.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. Functions use lowercase_with_underscores
, with the exception of the special functions RunSteps
and RunTests
in recipes. Use yapf (git cl format --no-clang-format
) to autoformat new code.