From e96dab1ef7968577333f959312b630a6ccd57752 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Fri, 12 Dec 2014 10:14:58 -0600 Subject: [PATCH] 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 --- teuthology/worker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.47.3