|
|
|
@ -135,7 +135,7 @@ def create_scenario_jobspec(scenario_json, |
|
|
|
|
|
|
|
|
|
return jobset.JobSpec( |
|
|
|
|
cmdline=[cmd], |
|
|
|
|
shortname='qps_json_driver.%s' % scenario_json['name'], |
|
|
|
|
shortname='%s' % scenario_json['name'], |
|
|
|
|
timeout_seconds=_SCENARIO_TIMEOUT, |
|
|
|
|
shell=True, |
|
|
|
|
verbose_success=True) |
|
|
|
@ -153,7 +153,7 @@ def create_quit_jobspec(workers, remote_host=None): |
|
|
|
|
|
|
|
|
|
return jobset.JobSpec( |
|
|
|
|
cmdline=[cmd], |
|
|
|
|
shortname='qps_json_driver.quit', |
|
|
|
|
shortname='shutdown_workers', |
|
|
|
|
timeout_seconds=_QUIT_WORKER_TIMEOUT, |
|
|
|
|
shell=True, |
|
|
|
|
verbose_success=True) |
|
|
|
@ -670,6 +670,8 @@ def main(): |
|
|
|
|
worker.start() |
|
|
|
|
jobs = [scenario.jobspec] |
|
|
|
|
if scenario.workers: |
|
|
|
|
# TODO(jtattermusch): ideally the "quit" job won't show up |
|
|
|
|
# in the report |
|
|
|
|
jobs.append( |
|
|
|
|
create_quit_jobspec( |
|
|
|
|
scenario.workers, |
|
|
|
|