|
|
|
@ -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 |
|
|
|
|