aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-01-20 09:38:21 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-01-20 09:38:21 -0800
commitbfe693678d8df3b46772d80eaa9ff298925955ae (patch)
tree0caaf5cf047106b858367301ba140289f2cac335 /tools
parent5f735a64e1ab3e2851c0063e257b662169d7bad6 (diff)
Tweak cpu costs
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/jobset.py2
-rw-r--r--tools/run_tests/tests.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/jobset.py b/tools/run_tests/jobset.py
index 4c2080f656..beeb99c0ae 100755
--- a/tools/run_tests/jobset.py
+++ b/tools/run_tests/jobset.py
@@ -285,7 +285,7 @@ class Job(object):
sys = float(m.group(3))
if real > 0.5:
cores = (user + sys) / real
- measurement = '; cpu_cost=%.01f' % cores
+ measurement = '; cpu_cost=%.01f; estimated=%.01f' % (cores, self._spec.cpu_cost)
message('PASSED', '%s [time=%.1fsec; retries=%d:%d%s]' % (
self._spec.shortname, elapsed, self._retries, self._timeout_retries, measurement),
do_newline=self._newline_on_success or self._travis)
diff --git a/tools/run_tests/tests.json b/tools/run_tests/tests.json
index fd912ae94a..ce211219c4 100644
--- a/tools/run_tests/tests.json
+++ b/tools/run_tests/tests.json
@@ -539,7 +539,7 @@
"posix",
"windows"
],
- "cpu_cost": 2,
+ "cpu_cost": 10,
"exclude_configs": [],
"flaky": false,
"language": "c",