Run and fix all sanity tests

This commit is contained in:
AlanCoding
2019-11-14 14:45:16 -05:00
parent b6745db4b8
commit ddf9fd581e
13 changed files with 35 additions and 48 deletions

View File

@@ -142,7 +142,7 @@ def main():
except exc.NotFound as excinfo:
fail_json = dict(msg='Unable to wait, no job_id {0} found: {1}'.format(job_id, excinfo), changed=False)
except exc.JobFailure as excinfo:
fail_json = dict(msg='Job with id={} failed, error: {}'.format(job_id, excinfo))
fail_json = dict(msg='Job with id={0} failed, error: {1}'.format(job_id, excinfo))
fail_json['success'] = False
result = job.get(job_id)
for k in ('id', 'status', 'elapsed', 'started', 'finished'):