Update test_batch_jobs.py

This commit is contained in:
Bert Blommers 2021-10-09 21:31:10 +00:00 committed by GitHub
parent 7f912b7a5b
commit 88c6a2f6db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,7 +225,7 @@ def test_cancel_pending_job():
job_id = resp["jobId"] job_id = resp["jobId"]
batch_client.cancel_job(jobId=job_id, reason="test_cancel") batch_client.cancel_job(jobId=job_id, reason="test_cancel")
_wait_for_job_status(batch_client, job_id, "FAILED", seconds_to_wait=10) _wait_for_job_status(batch_client, job_id, "FAILED", seconds_to_wait=30)
resp = batch_client.describe_jobs(jobs=[job_id]) resp = batch_client.describe_jobs(jobs=[job_id])
resp["jobs"][0]["jobName"].should.equal("test_job_name") resp["jobs"][0]["jobName"].should.equal("test_job_name")