Skip to content
Snippets Groups Projects
Commit bc18f810 authored by Nathaniel Kofalt's avatar Nathaniel Kofalt
Browse files

Set a running job to running

parent 9b4aa1c5
No related branches found
No related tags found
No related merge requests found
......@@ -387,6 +387,8 @@ def test_failed_job_output(data_builder, default_payload, as_user, as_admin, as_
assert r.ok
job = r.json()['_id']
api_db.jobs.update_one({'_id': bson.ObjectId(job)}, {'$set':{'state': 'running'}})
# prepare completion (send success status before engine upload)
r = as_drone.post('/jobs/' + job + '/prepare-complete', json={'success': False})
assert r.ok
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment