diff options
Diffstat (limited to 'yarns.webapp/040-running-jobs.yarn')
-rw-r--r-- | yarns.webapp/040-running-jobs.yarn | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yarns.webapp/040-running-jobs.yarn b/yarns.webapp/040-running-jobs.yarn index 1c9a4de..5e47d1c 100644 --- a/yarns.webapp/040-running-jobs.yarn +++ b/yarns.webapp/040-running-jobs.yarn @@ -24,7 +24,7 @@ Then make sure we don't get a job when we request one. WHEN admin makes request POST /1.0/give-me-job with host=testhost&pid=123 THEN response has job_id set to null - + WHEN admin makes request GET /1.0/list-running-jobs THEN response has running_jobs set to [] @@ -52,7 +52,7 @@ Enable the queue, and off we go. WHEN admin makes request GET /1.0/lorry/upstream/foo THEN response has running_job set to 1 AND response has jobs set to [1] - + WHEN admin makes request GET /1.0/list-running-jobs THEN response has running_jobs set to [1] @@ -311,7 +311,7 @@ which marks all jobs finished that haven't had a `job-update` called on them for a long time. SCENARIO forget jobs without MINION updates in a long time - + Set up a WEBAPP that uses a CONFGIT with a Lorry file, so we can start a job. @@ -374,7 +374,7 @@ WEBAPP doesn't remove jobs automatically, it needs to be told to remove jobs. SCENARIO remove job - + Setup. GIVEN a new git repository in CONFGIT |