| commit | 704cf5747fd2fda527ca7e95a263bea0b27cd161 | [log] [tgz] |
|---|---|---|
| author | Keyong Han <keyonghan@google.com> | Wed Jul 21 21:46:18 2021 +0000 |
| committer | CQ Bot Account <flutter-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 21 21:46:18 2021 +0000 |
| tree | a199bf6db93222997d46fc666b659692f35e1b8d | |
| parent | 103ceb72f0c61e287ebbac2b004876743d32c343 [diff] |
Avoid uploading test results for staging tests Change-Id: I58d7682e1201ce363d1b275a2d578d2eb6289ea6 Bug: https://github.com/flutter/flutter/issues/86814 Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/15863 Reviewed-by: Casey Hillers <chillers@google.com> Commit-Queue: Keyong Han <keyonghan@google.com>
diff --git a/recipes/devicelab/devicelab_drone.py b/recipes/devicelab/devicelab_drone.py index 73b04aa..d1598ca 100644 --- a/recipes/devicelab/devicelab_drone.py +++ b/recipes/devicelab/devicelab_drone.py
@@ -187,7 +187,8 @@ test metrics will be uploaded to Cocoon. Otherwise, only test flaky status will be updated to Cocoon. """ - if api.runtime.is_experimental or api.properties.get('git_url'): + if api.runtime.is_experimental or api.properties.get( + 'git_url') or api.properties.get('pool') == 'luci.flutter.staging': return runner_params = ['--test-flaky', is_test_flaky] if not api.properties.get('upload_metrics'):