diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-02-27 09:25:51 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-02-27 09:25:51 -0800 |
commit | 8451e87cedfda3538e004ff292abc7749fcd9cd2 (patch) | |
tree | 9125b8e43f7560c961c82daff6ed271e757d401b /tools | |
parent | f6901be8cdba766d0bfe966305312b507ec0d1ce (diff) |
Extend timeouts for Travis 2x
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/run_tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index 22f12b019a..fddd8eb58b 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -171,6 +171,7 @@ argp.add_argument('-c', '--config', argp.add_argument('-n', '--runs_per_test', default=1, type=int) argp.add_argument('-r', '--regex', default='.*', type=str) argp.add_argument('-j', '--jobs', default=1000, type=int) +argp.add_argument('-s', '--slowdown', default=1.0, type=float) argp.add_argument('-f', '--forever', default=False, action='store_const', @@ -200,6 +201,7 @@ make_targets = [] languages = set(_LANGUAGES[l] for l in args.language) build_steps = [jobset.JobSpec(['make', '-j', '%d' % (multiprocessing.cpu_count() + 1), + 'DEFINES=GRPC_TEST_SLOWDOWN_MACHINE_FACTOR=%f' % args.slowdown, 'CONFIG=%s' % cfg] + list(set( itertools.chain.from_iterable( l.make_targets() for l in languages)))) |