gcov: dont run large json_run_localhost scenarios

pull/15304/head
Jan Tattermusch 7 years ago
parent 77a6c99dee
commit add5840ec4
  1. 7
      test/cpp/qps/gen_build_yaml.py

@ -63,6 +63,11 @@ def guess_cpu(scenario_json, is_tsan):
return (scenario_json['num_clients'] * client +
scenario_json['num_servers'] * server)
def maybe_exclude_gcov(scenario_json):
if scenario_json['client_config']['client_channels'] > 100:
return ['gcov']
return []
print yaml.dump({
'tests': [
{
@ -76,7 +81,7 @@ print yaml.dump({
'boringssl': True,
'defaults': 'boringssl',
'cpu_cost': guess_cpu(scenario_json, False),
'exclude_configs': ['tsan', 'asan'],
'exclude_configs': ['tsan', 'asan'] + maybe_exclude_gcov(scenario_json),
'timeout_seconds': 2*60,
'excluded_poll_engines': scenario_json.get('EXCLUDED_POLL_ENGINES', []),
'auto_timeout_scaling': False

Loading…
Cancel
Save