Closed jericht closed 10 months ago
The Worker Agent integration tests failed to setup due to timeouts when waiting for fleet status to become ACTIVE after creating it.
ACTIVE
Use the boto waiter for fleet creation instead of rolling our own poller.
Worker Agent integration tests should be able to get passed fleet setup again.
Creating a fleet using this package in a Python shell:
>>> fleet = deadline.Fleet.create(client=client, display_name="test-fleet", farm=farm, configuration={"customerManaged": { "mode": "NO_SCALING", "workerRequirements": { "vCpuCount": {"min":1}, "memoryMiB": {"min": 1024}, "osFamily": "linux", "cpuArchitectureType": "x86_64"}}}, max_worker_count=1, role_arn="<my_role>") >>> fleet.id 'fleet-531fd8d9bb7a405db488d16b35682444' >>> client.get_fleet(farmId=farm.id, fleetId=fleet.id)["status"] 'ACTIVE'
N/A
No
What was the problem/requirement? (What/Why)
The Worker Agent integration tests failed to setup due to timeouts when waiting for fleet status to become
ACTIVE
after creating it.What was the solution? (How)
Use the boto waiter for fleet creation instead of rolling our own poller.
What is the impact of this change?
Worker Agent integration tests should be able to get passed fleet setup again.
How was this change tested?
Creating a fleet using this package in a Python shell:
Was this change documented?
N/A
Is this a breaking change?
No