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'):