From 0c3b382562e14235699457604ed70a71f28e2f4c Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 15 Aug 2024 17:25:03 -0700 Subject: [PATCH] fix test --- tests/app/aws/test_s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/aws/test_s3.py b/tests/app/aws/test_s3.py index d625f6b06..a148855ac 100644 --- a/tests/app/aws/test_s3.py +++ b/tests/app/aws/test_s3.py @@ -102,7 +102,7 @@ def test_get_job_from_s3_exponential_backoff(mocker): mocker.patch("app.aws.s3.get_s3_object", side_effect=mock_s3_get_object_slowdown) with pytest.raises(Exception) as exc_info: get_job_from_s3("service_id", "job_id") - assert "Failed to get object after 5 attempts" in str(exc_info) + assert "Failed to get object after 3 attempts" in str(exc_info) @pytest.mark.parametrize(