cap json_run_localhost to 10 mins under sanitizers

pull/12924/head
Jan Tattermusch 7 years ago
parent 46b34caccb
commit 779ae6f8b7
  1. 8
      test/cpp/qps/gen_build_yaml.py
  2. 280
      tools/run_tests/generated/tests.json

@ -78,7 +78,8 @@ print yaml.dump({
'cpu_cost': guess_cpu(scenario_json, False), 'cpu_cost': guess_cpu(scenario_json, False),
'exclude_configs': ['tsan', 'asan'], 'exclude_configs': ['tsan', 'asan'],
'timeout_seconds': 2*60, 'timeout_seconds': 2*60,
'excluded_poll_engines': scenario_json.get('EXCLUDED_POLL_ENGINES', []) 'excluded_poll_engines': scenario_json.get('EXCLUDED_POLL_ENGINES', []),
'auto_timeout_scaling': False
} }
for scenario_json in scenario_config.CXXLanguage().scenarios() for scenario_json in scenario_config.CXXLanguage().scenarios()
if 'scalable' in scenario_json.get('CATEGORIES', []) if 'scalable' in scenario_json.get('CATEGORIES', [])
@ -95,8 +96,9 @@ print yaml.dump({
'defaults': 'boringssl', 'defaults': 'boringssl',
'cpu_cost': guess_cpu(scenario_json, True), 'cpu_cost': guess_cpu(scenario_json, True),
'exclude_configs': sorted(c for c in configs_from_yaml if c not in ('tsan', 'asan')), 'exclude_configs': sorted(c for c in configs_from_yaml if c not in ('tsan', 'asan')),
'timeout_seconds': 2*60, 'timeout_seconds': 10*60,
'excluded_poll_engines': scenario_json.get('EXCLUDED_POLL_ENGINES', []) 'excluded_poll_engines': scenario_json.get('EXCLUDED_POLL_ENGINES', []),
'auto_timeout_scaling': False
} }
for scenario_json in scenario_config.CXXLanguage().scenarios() for scenario_json in scenario_config.CXXLanguage().scenarios()
if 'scalable' in scenario_json.get('CATEGORIES', []) if 'scalable' in scenario_json.get('CATEGORIES', [])

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save