Merge pull request #9747 from ctiller/splitsies

Increase timeout for bm_fullstack
pull/9757/head
Craig Tiller 8 years ago committed by GitHub
commit f2cf3d94a1
  1. 4
      build.yaml
  2. 30
      templates/tools/run_tests/generated/tests.json.template
  3. 7
      tools/run_tests/generated/tests.json

@ -3051,10 +3051,14 @@ targets:
- gpr - gpr
args: args:
- --benchmark_min_time=0 - --benchmark_min_time=0
excluded_poll_engines:
- poll
- poll-cv
platforms: platforms:
- mac - mac
- linux - linux
- posix - posix
timeout_seconds: 1200
- name: channel_arguments_test - name: channel_arguments_test
gtest: true gtest: true
build: test build: test

@ -2,18 +2,28 @@
--- | --- |
<%! <%!
import json import json
def gen_one_target(tgt):
out = {"name": tgt.name,
"language": tgt.language,
"platforms": tgt.platforms,
"ci_platforms": tgt.ci_platforms,
"gtest": tgt.gtest,
"exclude_configs": tgt.get("exclude_configs", []),
"exclude_iomgrs": tgt.get("exclude_iomgrs", []),
"args": tgt.get("args", []),
"flaky": tgt.flaky,
"cpu_cost": tgt.get("cpu_cost", 1.0)}
timeout_seconds = tgt.get("timeout_seconds", None)
if timeout_seconds:
out['timeout_seconds'] = timeout_seconds
excluded_poll_engines = tgt.get("excluded_poll_engines", None)
if excluded_poll_engines:
out['excluded_poll_engines'] = excluded_poll_engines
return out
%> %>
${json.dumps([{"name": tgt.name, ${json.dumps([gen_one_target(tgt)
"language": tgt.language,
"platforms": tgt.platforms,
"ci_platforms": tgt.ci_platforms,
"gtest": tgt.gtest,
"exclude_configs": tgt.get("exclude_configs", []),
"exclude_iomgrs": tgt.get("exclude_iomgrs", []),
"args": tgt.get("args", []),
"flaky": tgt.flaky,
"cpu_cost": tgt.get("cpu_cost", 1.0)}
for tgt in targets for tgt in targets
if tgt.get('run', True) and tgt.build == 'test'] + if tgt.get('run', True) and tgt.build == 'test'] +
tests, tests,

@ -2525,6 +2525,10 @@
"cpu_cost": 1.0, "cpu_cost": 1.0,
"exclude_configs": [], "exclude_configs": [],
"exclude_iomgrs": [], "exclude_iomgrs": [],
"excluded_poll_engines": [
"poll",
"poll-cv"
],
"flaky": false, "flaky": false,
"gtest": false, "gtest": false,
"language": "c++", "language": "c++",
@ -2555,7 +2559,8 @@
"linux", "linux",
"mac", "mac",
"posix" "posix"
] ],
"timeout_seconds": 1200
}, },
{ {
"args": [], "args": [],

Loading…
Cancel
Save