diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-15 11:26:54 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-02-15 11:26:54 -0800 |
commit | ab951947ce07336769682152880dd9eab2e03c80 (patch) | |
tree | 54977f485721a9a441a517bc11964b58aba82a2e /tools/run_tests | |
parent | d5b389d401630ffef65886291f421ef074525f9e (diff) |
Syntax fix
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-x | tools/run_tests/run_microbenchmark.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/run_microbenchmark.py b/tools/run_tests/run_microbenchmark.py index a2852546b3..05a1233290 100755 --- a/tools/run_tests/run_microbenchmark.py +++ b/tools/run_tests/run_microbenchmark.py @@ -152,7 +152,7 @@ def collect_perf(bm_name, args): if len(benchmarks) >= 20: # run up to half the cpu count: each benchmark can use up to two cores # (one for the microbenchmark, one for the data flush) - jobset.run(benchmarks, maxjobs=1), + jobset.run(benchmarks, maxjobs=1, add_env={'GRPC_TEST_PORT_SERVER': 'localhost:%d' % port_server_port}) jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count()) jobset.run(cleanup, maxjobs=multiprocessing.cpu_count()) @@ -161,7 +161,7 @@ def collect_perf(bm_name, args): cleanup = [] # run the remaining benchmarks that weren't flushed if len(benchmarks): - jobset.run(benchmarks, maxjobs=1), + jobset.run(benchmarks, maxjobs=1, add_env={'GRPC_TEST_PORT_SERVER': 'localhost:%d' % port_server_port}) jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count()) jobset.run(cleanup, maxjobs=multiprocessing.cpu_count()) |