Skip to content

[Test] Add caching to flexible instance type retrieval to minimize the number of EC2 requests.#7402

Draft
gmarciani wants to merge 1 commit into
aws:developfrom
gmarciani:wip/mgiacomo/3160/test-flex-cache-0520-1
Draft

[Test] Add caching to flexible instance type retrieval to minimize the number of EC2 requests.#7402
gmarciani wants to merge 1 commit into
aws:developfrom
gmarciani:wip/mgiacomo/3160/test-flex-cache-0520-1

Conversation

@gmarciani
Copy link
Copy Markdown
Contributor

@gmarciani gmarciani commented May 20, 2026

Description of changes

Add caching to flexible instance type retrieval to minimize the number of EC2 requests.
We adopted the same chaching approach to a similar call in #7401

Tests

ONGOING 2 parallel executions of test_ebs_single will trigger just one request to retrieve the list of flexible instance types, while before this fix it used to trigger one.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@gmarciani gmarciani added skip-changelog-update Disables the check that enforces changelog updates in PRs 3.x Test labels May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x skip-changelog-update Disables the check that enforces changelog updates in PRs Test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant