From: Andrew Schoen Date: Fri, 12 Dec 2014 16:14:58 +0000 (-0600) Subject: remove the status from the call to paddles from worker; this allows the job's updated... X-Git-Tag: 1.1.0~1067^2~6^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F395%2Fhead;p=teuthology.git remove the status from the call to paddles from worker; this allows the job's updated time to change without changing it's status. The status of the job could be either running or waiting Signed-off-by: Andrew Schoen --- diff --git a/teuthology/worker.py b/teuthology/worker.py index 1d7970b96..a1567d897 100644 --- a/teuthology/worker.py +++ b/teuthology/worker.py @@ -189,7 +189,8 @@ def run_with_watchdog(process, job_config): kill_job(job_info['name'], job_info['job_id'], teuth_config.archive_base) - report.try_push_job_info(job_info, dict(status='running')) + # calling this without a status just updates the jobs updated time + report.try_push_job_info(job_info) time.sleep(teuth_config.watchdog_interval) # The job finished. Let's make sure paddles knows.