Give make a long timeout, tests a small one, and interop a slightly longer one

pull/2799/head
Craig Tiller 10 years ago
parent ef12559f0f
commit db0d23466a
  1. 2
      tools/run_tests/jobset.py
  2. 5
      tools/run_tests/run_interops.py
  3. 3
      tools/run_tests/run_tests.py

@ -131,7 +131,7 @@ class JobSpec(object):
"""Specifies what to run for a job."""
def __init__(self, cmdline, shortname=None, environ=None, hash_targets=None,
cwd=None, shell=False, timeout_seconds=900):
cwd=None, shell=False, timeout_seconds=300):
"""
Arguments:
cmdline: a list of arguments to pass as the command line

@ -19,7 +19,10 @@ jobs = []
jobNumber = 0
for lang in args.language:
for test in _TESTS:
test_job = jobset.JobSpec(cmdline=['tools/run_tests/run_interops_test.sh', '%s' % lang, '%s' % test], shortname=test)
test_job = jobset.JobSpec(
cmdline=['tools/run_tests/run_interops_test.sh', '%s' % lang, '%s' % test],
shortname=test,
timeout_seconds=900)
jobs.append(test_job)
jobNumber+=1

@ -463,7 +463,8 @@ else:
'-j', '%d' % (multiprocessing.cpu_count() + 1),
'EXTRA_DEFINES=GRPC_TEST_SLOWDOWN_MACHINE_FACTOR=%f' %
args.slowdown,
'CONFIG=%s' % cfg] + targets)
'CONFIG=%s' % cfg] + targets,
timeout_seconds=30*60)
build_steps = [make_jobspec(cfg,
list(set(itertools.chain.from_iterable(

Loading…
Cancel
Save