Merge pull request #15304 from jtattermusch/fix_coverage_json_run_localhost

Fix json_run_localhost failures under gcov
pull/15309/head
Jan Tattermusch 7 years ago committed by GitHub
commit 978b9b179e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      test/cpp/qps/gen_build_yaml.py
  2. 3
      tools/run_tests/generated/tests.json

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

@ -58026,7 +58026,8 @@
"defaults": "boringssl",
"exclude_configs": [
"tsan",
"asan"
"asan",
"gcov"
],
"excluded_poll_engines": [],
"flaky": false,

Loading…
Cancel
Save