diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-05-08 11:37:09 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-05-08 11:55:47 +0200 |
commit | add5840ec44679fb1887b0c806f51f28c3a386ae (patch) | |
tree | d800f630ea56d98d030b4d359abe4fcf027f9b04 /test/cpp | |
parent | 77a6c99deeacf1dbc43f86298ae3f42fb4aec548 (diff) |
gcov: dont run large json_run_localhost scenarios
Diffstat (limited to 'test/cpp')
-rwxr-xr-x | test/cpp/qps/gen_build_yaml.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/cpp/qps/gen_build_yaml.py b/test/cpp/qps/gen_build_yaml.py index 1ef8f65b0b..776283c25a 100755 --- a/test/cpp/qps/gen_build_yaml.py +++ b/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 |