Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
updated retry test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanluciano committed Apr 10, 2024
1 parent 4cae60d commit eca4958
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/workers/test_ecs_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
else:
from pydantic import ValidationError

from tenacity import RetryError

from prefect_aws.credentials import _get_client_cached
from prefect_aws.workers.ecs_worker import (
_TASK_DEFINITION_CACHE,
Expand Down Expand Up @@ -2320,7 +2318,7 @@ async def test_retry_on_failed_task_start(
},
)

with pytest.raises(RetryError):
with pytest.raises(RuntimeError):
async with ECSWorker(work_pool_name="test") as worker:
await run_then_stop_task(worker, configuration, flow_run)

Expand Down

0 comments on commit eca4958

Please sign in to comment.