chore(components): SageMaker fix flaky groundtruth test (#5044)

This commit is contained in:
Suraj Kota 2021-01-27 20:52:01 -08:00 committed by GitHub
parent e6aeb9cc39
commit 2dd8de3f6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ def test_groundtruth_labeling_job(
response = sagemaker_utils.describe_labeling_job(
sagemaker_client, ground_truth_train_job_name
)
assert response["LabelingJobStatus"] in ["Stopping", "Stopped"]
assert response["LabelingJobStatus"] in ["Completed", "Stopping", "Stopped"]
finally:
print(
f"Clean up workteam: {workteam_arn} and GT job: {ground_truth_train_job_name}"