add stop_worker: as a mean to shutdown the worker
beanstalk.watch_tube(connection, ctx.tube)
result_proc = None
- fetch_teuthology('master')
+ if teuth_config.teuthology_path is None:
+ fetch_teuthology('master')
fetch_qa_suite('master')
- while True:
+ keep_running = True
+ while keep_running:
# Check to see if we have a teuthology-results process hanging around
# and if so, read its return code so that it can exit.
if result_proc is not None and result_proc.poll() is not None: