commit | 5f06e1dff436d6330fe1541e4fb9553b2f825792 | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@google.com> | Mon Apr 29 22:59:50 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 29 22:59:50 2024 |
tree | 93dc89cd50479698a91aba32b3a066c1fc6e44e6 | |
parent | cca50642d6527bf206810683f2ba0e3d0a613b72 [diff] |
[commands/test] Reduce threshold for long-running Reduce the threshold to be considered a long-running recipe test from 10 seconds to 5. Change-Id: I0c72c7104ce0c91fa075188953040461c19751c2 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/recipes-py/+/5499730 Commit-Queue: Rob Mohr <mohrr@google.com> Commit-Queue: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Auto-Submit: Rob Mohr <mohrr@google.com>
diff --git a/recipe_engine/internal/commands/test/report.py b/recipe_engine/internal/commands/test/report.py index ef5f5f2..61770fa 100644 --- a/recipe_engine/internal/commands/test/report.py +++ b/recipe_engine/internal/commands/test/report.py
@@ -457,7 +457,7 @@ duration = datetime.timedelta( milliseconds=test_result.duration.ToMilliseconds() ) - if duration >= datetime.timedelta(seconds=10): + if duration >= datetime.timedelta(seconds=5): result[name] = duration return result