aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-09-07 13:47:59 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-09-07 13:47:59 -0700
commit2d631428ac23c3a656f4a25d033cfbb3c3e42424 (patch)
treeec8d2d35e1e27d96a763d29f140639ab35624c52 /tools/run_tests
parent0b86d03611204ef3b4f445c489eb4d8f041f6479 (diff)
parent120d4fda0715b157ed3a19d2a557906dac29f4b0 (diff)
Merge branch 'query_times' of github.com:ctiller/grpc into query_times
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-xtools/run_tests/run_tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 8b3c629d5f..72ded5694a 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -78,7 +78,9 @@ def get_bqtest_data(limit=None):
bq = big_query_utils.create_big_query()
query = """
SELECT
- filtered_test_name, SUM(result != 'PASSED' AND result != 'SKIPPED') > 0 as flaky, AVG(cpu_measured) as cpu
+ filtered_test_name,
+ SUM(result != 'PASSED' AND result != 'SKIPPED') > 0 as flaky,
+ MAX(cpu_measured) as cpu
FROM (
SELECT
REGEXP_REPLACE(test_name, r'/\d+', '') AS filtered_test_name,