Skip to content

Commit

Permalink
fix: increase timeout for fleet creation (aws-deadline#43)
Browse files Browse the repository at this point in the history
Signed-off-by: Jericho Tolentino <[email protected]>
  • Loading branch information
jericht authored Dec 5, 2023
1 parent 6ab2284 commit 5263bba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/deadline_test_fixtures/deadline/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ def create(
client=client,
desired_status="ACTIVE",
allowed_statuses=set(["CREATE_IN_PROGRESS"]),
interval_s=10,
max_retries=6 * 5, # 5 minutes to allow CMF fleet creation to complete
)

return fleet
Expand Down
2 changes: 2 additions & 0 deletions test/unit/deadline/test_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ def test_create(self, farm: Farm) -> None:
client=mock_client,
desired_status="ACTIVE",
allowed_statuses=set(["CREATE_IN_PROGRESS"]),
interval_s=10,
max_retries=6 * 5, # 5 minutes for CMF fleet creation
)

def test_delete(self, fleet: Fleet) -> None:
Expand Down

0 comments on commit 5263bba

Please sign in to comment.